Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
SoX backend. More...
#include <sox_backend.h>
Public Member Functions | |
void | set_frame_size (core::nanoseconds_t frame_length, const audio::SampleSpec &sample_spec) |
Set internal SoX frame size. More... | |
virtual void | discover_drivers (core::Array< DriverInfo, MaxDrivers > &driver_list) |
Append supported drivers to the list. More... | |
virtual IDevice * | open_device (DeviceType device_type, DriverType driver_type, const char *driver, const char *path, const Config &config, core::IArena &arena) |
Create and open a sink or source. More... | |
virtual const char * | name () const |
Returns name of backend. More... | |
SoX backend.
Definition at line 25 of file sox_backend.h.
|
virtual |
Append supported drivers to the list.
Implements roc::sndio::IBackend.
|
virtual |
Returns name of backend.
Implements roc::sndio::IBackend.
|
virtual |
Create and open a sink or source.
Implements roc::sndio::IBackend.
void roc::sndio::SoxBackend::set_frame_size | ( | core::nanoseconds_t | frame_length, |
const audio::SampleSpec & | sample_spec | ||
) |
Set internal SoX frame size.