Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
Loading...
Searching...
No Matches
roc::sndio::BackendDispatcher Class Reference

Backend dispatcher. More...

#include <backend_dispatcher.h>

Inheritance diagram for roc::sndio::BackendDispatcher:
roc::core::NonCopyable< T >

Public Member Functions

 BackendDispatcher ()
 Initialize.
 
ISinkopen_default_sink (const Config &config, core::IAllocator &allocator)
 Create and open default sink.
 
ISourceopen_default_source (const Config &config, core::IAllocator &allocator)
 Create and open default source.
 
ISinkopen_sink (const address::IoUri &uri, const char *force_format, const Config &config, core::IAllocator &allocator)
 Create and open a sink.
 
ISourceopen_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.
 

Detailed Description

Backend dispatcher.

Definition at line 31 of file backend_dispatcher.h.

Constructor & Destructor Documentation

◆ BackendDispatcher()

roc::sndio::BackendDispatcher::BackendDispatcher ( )

Initialize.

Member Function Documentation

◆ get_supported_formats()

bool roc::sndio::BackendDispatcher::get_supported_formats ( core::StringList )

Get all supported file formats.

◆ get_supported_schemes()

bool roc::sndio::BackendDispatcher::get_supported_schemes ( core::StringList )

Get all supported URI schemes.

◆ open_default_sink()

ISink * roc::sndio::BackendDispatcher::open_default_sink ( const Config config,
core::IAllocator allocator 
)

Create and open default sink.

◆ open_default_source()

ISource * roc::sndio::BackendDispatcher::open_default_source ( const Config config,
core::IAllocator allocator 
)

Create and open default source.

◆ open_sink()

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.

◆ open_source()

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.


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