![]() |
Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
Profiling reader. More...
#include <roc_audio/profiling_reader.h>

Public Member Functions | |
| ProfilingReader (IFrameReader &reader, core::IArena &arena, const SampleSpec &sample_spec, ProfilerConfig profiler_config) | |
| Initialization. | |
| bool | is_valid () const |
| Check if the profiler was succefully constructed. | |
| virtual bool | read (Frame &frame) |
| Read audio frame. | |
Public Member Functions inherited from roc::core::ListNode< Tag > | |
| ListData * | list_data () const |
| Get pointer to internal data. | |
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. | |
Profiling reader.
Definition at line 26 of file profiling_reader.h.
| roc::audio::ProfilingReader::ProfilingReader | ( | IFrameReader & | reader, |
| core::IArena & | arena, | ||
| const SampleSpec & | sample_spec, | ||
| ProfilerConfig | profiler_config | ||
| ) |
Initialization.
| bool roc::audio::ProfilingReader::is_valid | ( | ) | const |
Check if the profiler was succefully constructed.
|
virtual |
Read audio frame.
Implements roc::audio::IFrameReader.