12#ifndef ROC_PIPELINE_CONVERTER_SINK_H_
13#define ROC_PIPELINE_CONVERTER_SINK_H_
Sample stream specification. Defines sample rate and channel layout.
Memory allocator interface.
Base class for non-copyable objects.
Optionally constructed object.
virtual core::nanoseconds_t latency() const
Get latency of the sink.
virtual void write(audio::Frame &frame)
Write audio frame.
bool valid()
Check if the pipeline was successfully constructed.
ConverterSink(const ConverterConfig &config, audio::IFrameWriter *output_writer, core::BufferFactory< audio::sample_t > &buffer_factory, core::IAllocator &allocator)
Initialize.
virtual audio::SampleSpec sample_spec() const
Get sample specification of the sink.
virtual bool has_clock() const
Check if the sink has own clock.
Audio resampler interface.
int64_t nanoseconds_t
Nanoseconds.
Optionally constructed object.