12 #ifndef ROC_AUDIO_CHANNEL_MAPPER_READER_H_
13 #define ROC_AUDIO_CHANNEL_MAPPER_READER_H_
Channel mapper reader. Reads frames from nested reader and maps them to another channel mask.
bool is_valid() const
Check if the object was succefully constructed.
virtual bool read(Frame &frame)
Read audio frame.
ChannelMapperReader(IFrameReader &reader, core::BufferFactory< sample_t > &buffer_factory, const SampleSpec &in_spec, const SampleSpec &out_spec)
Initialize.
Channel mapper. Converts between frames with specified channel masks.
Sample specification. Describes sample rate and channels.
Buffer factory. Allows to instantiate fixed-size buffers.
Base class for non-copyable objects.
float sample_t
Audio sample.
int64_t nanoseconds_t
Nanoseconds.
Commonly used types and functions.