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