Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
roc::sndio Namespace Reference

Sound I/O. More...

Classes

class  BackendDispatcher
 Backend dispatcher. More...
 
struct  Config
 Sink and source config. More...
 
struct  DriverInfo
 Driver info interface. More...
 
class  IBackend
 Backend interface. More...
 
class  ISink
 Sink interface. More...
 
class  ISource
 Source interface. More...
 
class  PulseaudioBackend
 Pulseaudio backend. More...
 
class  PulseaudioSink
 PulseAudio sink,. More...
 
class  Pump
 Audio pump. More...
 
class  SoxBackend
 SoX backend. More...
 
class  SoxSink
 SoX sink. More...
 
class  SoxSource
 SoX source. More...
 

Functions

bool add_driver_uniq (core::Array< DriverInfo > &arr, const char *driver_name)
 Append driver to array and ensure uniqueness, returns false if unable to allocate space for item. More...
 
bool print_drivers (core::IAllocator &allocator)
 Print list of supported drivers. More...
 

Detailed Description

Sound I/O.

Function Documentation

bool roc::sndio::add_driver_uniq ( core::Array< DriverInfo > &  arr,
const char *  driver_name 
)

Append driver to array and ensure uniqueness, returns false if unable to allocate space for item.

bool roc::sndio::print_drivers ( core::IAllocator allocator)

Print list of supported drivers.