Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
Backend dispatcher. More...
#include <backend_dispatcher.h>
Public Member Functions | |
BackendDispatcher (core::IArena &arena) | |
Initialize. More... | |
ISink * | open_default_sink (const Config &config) |
Create and open default sink. More... | |
ISource * | open_default_source (const Config &config) |
Create and open default source. More... | |
ISink * | open_sink (const address::IoUri &uri, const char *force_format, const Config &config) |
Create and open a sink. More... | |
ISource * | open_source (const address::IoUri &uri, const char *force_format, const Config &config) |
Create and open a source. More... | |
ROC_ATTR_NODISCARD bool | get_supported_schemes (core::StringList &result) |
Get all supported URI schemes. More... | |
ROC_ATTR_NODISCARD bool | get_supported_formats (core::StringList &result) |
Get all supported file formats. More... | |
Backend dispatcher.
Definition at line 32 of file backend_dispatcher.h.
roc::sndio::BackendDispatcher::BackendDispatcher | ( | core::IArena & | arena | ) |
Initialize.
ROC_ATTR_NODISCARD bool roc::sndio::BackendDispatcher::get_supported_formats | ( | core::StringList & | result | ) |
Get all supported file formats.
ROC_ATTR_NODISCARD bool roc::sndio::BackendDispatcher::get_supported_schemes | ( | core::StringList & | result | ) |
Get all supported URI schemes.
Create and open default sink.
Create and open default source.
ISink* roc::sndio::BackendDispatcher::open_sink | ( | const address::IoUri & | uri, |
const char * | force_format, | ||
const Config & | config | ||
) |
Create and open a sink.
ISource* roc::sndio::BackendDispatcher::open_source | ( | const address::IoUri & | uri, |
const char * | force_format, | ||
const Config & | config | ||
) |
Create and open a source.