Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
Pcm mapper reader. Reads frames from nested reader and maps them to another pcm mask. More...
#include <pcm_mapper_reader.h>
Public Member Functions | |
PcmMapperReader (IFrameReader &reader, 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 bool | read (Frame &frame) |
Read 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... | |
Pcm mapper reader. Reads frames from nested reader and maps them to another pcm mask.
Definition at line 29 of file pcm_mapper_reader.h.
roc::audio::PcmMapperReader::PcmMapperReader | ( | IFrameReader & | reader, |
FrameFactory & | frame_factory, | ||
const SampleSpec & | in_spec, | ||
const SampleSpec & | out_spec | ||
) |
Initialize.
bool roc::audio::PcmMapperReader::is_valid | ( | ) | const |
Check if the object was succefully constructed.
|
virtual |
Read audio frame.
Implements roc::audio::IFrameReader.