![]() |
Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
Backend dispatcher. More...
#include <roc_sndio/backend_dispatcher.h>

Public Member Functions | |
| BackendDispatcher (core::IArena &arena) | |
| Initialize. | |
| ISink * | open_default_sink (const Config &config) |
| Create and open default sink. | |
| ISource * | open_default_source (const Config &config) |
| Create and open default source. | |
| ISink * | open_sink (const address::IoUri &uri, const char *force_format, const Config &config) |
| Create and open a sink. | |
| ISource * | open_source (const address::IoUri &uri, const char *force_format, const Config &config) |
| Create and open a source. | |
| bool | get_supported_schemes (core::StringList &result) |
| Get all supported URI schemes. | |
| bool | get_supported_formats (core::StringList &result) |
| Get all supported file formats. | |
Backend dispatcher.
Definition at line 32 of file backend_dispatcher.h.
| roc::sndio::BackendDispatcher::BackendDispatcher | ( | core::IArena & | arena | ) |
Initialize.
| bool roc::sndio::BackendDispatcher::get_supported_formats | ( | core::StringList & | result | ) |
Get all supported file formats.
| 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.