|
Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
SoX backend. More...
#include <sox_backend.h>
Public Member Functions | |
| void | set_frame_size (size_t size) |
| Set internal SoX frame size. More... | |
| virtual bool | probe (const char *driver, const char *inout, int flags) |
| Check whether the backend can handle given input or output. More... | |
| virtual ISink * | open_sink (core::IAllocator &allocator, const char *driver, const char *output, const Config &config) |
| Create and open a sink. More... | |
| virtual ISource * | open_source (core::IAllocator &allocator, const char *driver, const char *input, const Config &config) |
| Create and open a source. More... | |
| virtual bool | get_drivers (core::Array< DriverInfo > &arr, int filter_flags) |
| Append supported dirvers to the list. More... | |
| virtual bool | probe (const char *driver, const char *inout, int filter_flags)=0 |
| Check whether the backend can handle given input or output. More... | |
| virtual ISink * | open_sink (core::IAllocator &allocator, const char *driver, const char *output, const Config &config)=0 |
| Create and open a sink. More... | |
| virtual ISource * | open_source (core::IAllocator &allocator, const char *driver, const char *input, const Config &config)=0 |
| Create and open a source. More... | |
| virtual bool | get_drivers (core::Array< DriverInfo > &arr, int filter_flags)=0 |
| Append supported dirvers to the list. More... | |
Static Public Member Functions | |
| static SoxBackend & | instance () |
| Get instance. More... | |
Friends | |
| class | core::Singleton< SoxBackend > |
Additional Inherited Members | |
Public Types inherited from roc::sndio::IBackend | |
| enum | FilterFlags { FilterSink = (1 << 0) , FilterSource = (1 << 1) , FilterFile = (1 << 2) , FilterDevice = (1 << 3) } |
| Probing flags. More... | |
SoX backend.
Definition at line 26 of file sox_backend.h.
|
virtual |
Append supported dirvers to the list.
Implements roc::sndio::IBackend.
|
inlinestatic |
Get instance.
Definition at line 29 of file sox_backend.h.
|
virtual |
Create and open a sink.
Implements roc::sndio::IBackend.
|
virtual |
Create and open a source.
Implements roc::sndio::IBackend.
|
virtual |
Check whether the backend can handle given input or output.
Implements roc::sndio::IBackend.
| void roc::sndio::SoxBackend::set_frame_size | ( | size_t | size | ) |
Set internal SoX frame size.
|
friend |
Definition at line 54 of file sox_backend.h.