12#ifndef ROC_SNDIO_SOX_BACKEND_H_
13#define ROC_SNDIO_SOX_BACKEND_H_
Sample stream specification. Defines sample rate and channel layout.
Memory allocator interface.
Base class for non-copyable objects.
Base interface for sinks and sources.
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 ITerminal * open_terminal(TerminalType terminal_type, DriverType driver_type, const char *driver, const char *path, const Config &config, core::IAllocator &allocator)
Create and open a sink or source.
int64_t nanoseconds_t
Nanoseconds.
TerminalType
Terminal type.