Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
roc::sndio::IBackend Class Referenceabstract

Backend interface. More...

#include <ibackend.h>

Inheritance diagram for roc::sndio::IBackend:

Public Member Functions

virtual void discover_drivers (core::Array< DriverInfo, MaxDrivers > &driver_list)=0
 Append supported drivers to the list. More...
 
virtual IDeviceopen_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...
 

Detailed Description

Backend interface.

Definition at line 29 of file ibackend.h.

Member Function Documentation

◆ discover_drivers()

virtual void roc::sndio::IBackend::discover_drivers ( core::Array< DriverInfo, MaxDrivers > &  driver_list)
pure virtual

Append supported drivers to the list.

Implemented in roc::sndio::SoxBackend, and roc::sndio::PulseaudioBackend.

◆ open_device()

virtual IDevice* roc::sndio::IBackend::open_device ( DeviceType  device_type,
DriverType  driver_type,
const char *  driver,
const char *  path,
const Config config,
core::IArena arena 
)
pure virtual

Create and open a sink or source.

Implemented in roc::sndio::SoxBackend, and roc::sndio::PulseaudioBackend.


The documentation for this class was generated from the following file: