Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
Backend interface. More...
#include <ibackend.h>
Public Member Functions | |
virtual void | discover_drivers (core::Array< DriverInfo, MaxDrivers > &driver_list)=0 |
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)=0 |
Create and open a sink or source. More... | |
virtual const char * | name () const =0 |
Returns name of backend. More... | |
Backend interface.
Definition at line 29 of file ibackend.h.
|
pure virtual |
Append supported drivers to the list.
Implemented in roc::sndio::WavBackend, roc::sndio::SoxBackend, roc::sndio::SndfileBackend, and roc::sndio::PulseaudioBackend.
|
pure virtual |
Returns name of backend.
Implemented in roc::sndio::WavBackend, roc::sndio::SoxBackend, roc::sndio::SndfileBackend, and roc::sndio::PulseaudioBackend.
|
pure virtual |
Create and open a sink or source.
Implemented in roc::sndio::WavBackend, roc::sndio::SoxBackend, roc::sndio::SndfileBackend, and roc::sndio::PulseaudioBackend.