12 #ifndef ROC_SNDIO_SOX_BACKEND_H_
13 #define ROC_SNDIO_SOX_BACKEND_H_
46 virtual const char*
name()
const;
Sample specification. Describes sample rate and channels.
Base class for non-copyable objects.
Base interface for sinks and sources.
virtual IDevice * open_device(DeviceType device_type, DriverType driver_type, const char *driver, const char *path, const Config &config, core::IArena &arena)
Create and open a sink or source.
void set_frame_size(core::nanoseconds_t frame_length, const audio::SampleSpec &sample_spec)
Set internal SoX frame size.
virtual void discover_drivers(core::Array< DriverInfo, MaxDrivers > &driver_list)
Append supported drivers to the list.
virtual const char * name() const
Returns name of backend.
int64_t nanoseconds_t
Nanoseconds.