12 #ifndef ROC_SNDIO_CONFIG_H_
13 #define ROC_SNDIO_CONFIG_H_
Sample specification. Describes sample rate and channels.
const nanoseconds_t Millisecond
One millisecond represented in nanoseconds.
int64_t nanoseconds_t
Nanoseconds.
const core::nanoseconds_t DefaultFrameLength
Default frame length. 10ms is rather high, but works well even on cheap sound cards and CPUs....
Commonly used types and functions.
audio::SampleSpec sample_spec
Sample spec.
core::nanoseconds_t latency
Requested input or output latency.
core::nanoseconds_t frame_length
Duration of the internal frames, in nanoseconds.
Various units used in packets.