Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
Channel mapper reader. Reads frames from nested reader and maps them to another channel mask. More...
#include <channel_mapper_reader.h>
Public Member Functions | |
ChannelMapperReader (IFrameReader &reader, core::BufferFactory< sample_t > &buffer_factory, const SampleSpec &in_spec, const SampleSpec &out_spec) | |
Initialize. More... | |
bool | is_valid () const |
Check if the object was succefully constructed. More... | |
virtual bool | read (Frame &frame) |
Read audio frame. More... | |
Public Member Functions inherited from roc::core::ListNode | |
ListNodeData * | list_node_data () const |
Get list node data. More... | |
Channel mapper reader. Reads frames from nested reader and maps them to another channel mask.
Definition at line 28 of file channel_mapper_reader.h.
roc::audio::ChannelMapperReader::ChannelMapperReader | ( | IFrameReader & | reader, |
core::BufferFactory< sample_t > & | buffer_factory, | ||
const SampleSpec & | in_spec, | ||
const SampleSpec & | out_spec | ||
) |
Initialize.
bool roc::audio::ChannelMapperReader::is_valid | ( | ) | const |
Check if the object was succefully constructed.
|
virtual |
Read audio frame.
Implements roc::audio::IFrameReader.