12 #ifndef ROC_AUDIO_CHANNEL_MAPPER_WRITER_H_
13 #define ROC_AUDIO_CHANNEL_MAPPER_WRITER_H_
Channel mapper writer. Reads frames from nested writer and maps them to another channel mask.
bool is_valid() const
Check if the object was succefully constructed.
virtual void write(Frame &frame)
Write audio frame.
ChannelMapperWriter(IFrameWriter &writer, FrameFactory &frame_factory, const SampleSpec &in_spec, const SampleSpec &out_spec)
Initialize.
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.