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

Sndfile backend. More...

#include <sndfile_backend.h>

Inheritance diagram for roc::sndio::SndfileBackend:
Collaboration diagram for roc::sndio::SndfileBackend:

Public Member Functions

virtual void discover_drivers (core::Array< DriverInfo, MaxDrivers > &driver_list)
 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)
 Create and open a sink or source. More...
 
virtual const char * name () const
 Returns name of backend. More...
 

Detailed Description

Sndfile backend.

Definition at line 25 of file sndfile_backend.h.

Member Function Documentation

◆ discover_drivers()

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

Append supported drivers to the list.

Implements roc::sndio::IBackend.

◆ name()

virtual const char* roc::sndio::SndfileBackend::name ( ) const
virtual

Returns name of backend.

Implements roc::sndio::IBackend.

◆ open_device()

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

Create and open a sink or source.

Implements roc::sndio::IBackend.


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