Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
Loading...
Searching...
No Matches
roc::sndio::IBackend Class Referenceabstract

Backend interface. More...

#include <ibackend.h>

Inheritance diagram for roc::sndio::IBackend:
roc::sndio::PulseaudioBackend roc::sndio::SoxBackend

Public Member Functions

virtual void discover_drivers (core::Array< DriverInfo, MaxDrivers > &driver_list)=0
 Append supported drivers to the list.
 
virtual ITerminalopen_terminal (TerminalType terminal_type, DriverType driver_type, const char *driver, const char *path, const Config &config, core::IAllocator &allocator)=0
 Create and open a sink or source.
 

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::PulseaudioBackend, and roc::sndio::SoxBackend.

◆ open_terminal()

virtual ITerminal * roc::sndio::IBackend::open_terminal ( TerminalType  terminal_type,
DriverType  driver_type,
const char *  driver,
const char *  path,
const Config config,
core::IAllocator allocator 
)
pure virtual

Create and open a sink or source.

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


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