12 #ifndef ROC_SNDIO_BACKEND_DISPATCHER_H_
13 #define ROC_SNDIO_BACKEND_DISPATCHER_H_
49 const char* force_format,
63 const char* driver_name,
#define ROC_ATTR_NODISCARD
Emit warning if function result is not checked.
Audio file or device URI.
Base class for non-copyable objects.
ISink * open_default_sink(const Config &config)
Create and open default sink.
BackendDispatcher(core::IArena &arena)
Initialize.
ISource * open_default_source(const Config &config)
Create and open default source.
ROC_ATTR_NODISCARD bool get_supported_schemes(core::StringList &result)
Get all supported URI schemes.
ROC_ATTR_NODISCARD bool get_supported_formats(core::StringList &result)
Get all supported file formats.
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.
Base interface for sinks and sources.
Audio file or device URI.