12#ifndef ROC_SNDIO_IBACKEND_H_
13#define ROC_SNDIO_IBACKEND_H_
47 virtual bool probe(
const char* driver,
const char* inout,
int filter_flags) = 0;
Memory allocator interface.
virtual bool probe(const char *driver, const char *inout, int filter_flags)=0
Check whether the backend can handle given input or output.
virtual bool get_drivers(core::Array< DriverInfo > &arr, int filter_flags)=0
Append supported dirvers to the list.
virtual ISink * open_sink(core::IAllocator &allocator, const char *driver, const char *output, const Config &config)=0
Create and open a sink.
FilterFlags
Probing flags.
@ FilterFile
Input or output may be a file.
@ FilterSink
Input or output may be a sink.
@ FilterDevice
Input or output may be a device.
@ FilterSource
Input or output may be a source.
virtual ISource * open_source(core::IAllocator &allocator, const char *driver, const char *input, const Config &config)=0
Create and open a source.
Memory allocator interface.
Shared ownership intrusive pointer.