Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
Channel mapper writer. Reads frames from nested writer and maps them to another channel mask. More...
#include <channel_mapper_writer.h>
Public Member Functions | |
ChannelMapperWriter (IFrameWriter &writer, FrameFactory &frame_factory, const SampleSpec &in_spec, const SampleSpec &out_spec) | |
Initialize. More... | |
bool | is_valid () const |
Check if the object was succefully constructed. More... | |
virtual void | write (Frame &frame) |
Write audio frame. More... | |
Public Member Functions inherited from roc::core::ListNode< Tag > | |
ListData * | list_data () const |
Get pointer to internal data. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from roc::core::ListNode< Tag > | |
static ListNode * | list_node (ListData *data) |
Get pointer to parent node from pointer to internal data. More... | |
Channel mapper writer. Reads frames from nested writer and maps them to another channel mask.
Definition at line 28 of file channel_mapper_writer.h.
roc::audio::ChannelMapperWriter::ChannelMapperWriter | ( | IFrameWriter & | writer, |
FrameFactory & | frame_factory, | ||
const SampleSpec & | in_spec, | ||
const SampleSpec & | out_spec | ||
) |
Initialize.
bool roc::audio::ChannelMapperWriter::is_valid | ( | ) | const |
Check if the object was succefully constructed.
|
virtual |
Write audio frame.
Implements roc::audio::IFrameWriter.