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.
ChannelMapperReader(IFrameReader &reader, FrameFactory &frame_factory, const SampleSpec &in_spec, const SampleSpec &out_spec)
Initialize.
bool is_valid() const
Check if the object was succefully constructed.
virtual bool read(Frame &frame)
Read audio frame.
Sample specification. Describes sample rate and channels.
Base class for non-copyable objects.
float sample_t
Raw audio sample.
int64_t nanoseconds_t
Nanoseconds.
Commonly used types and functions.