Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
Profiling writer. More...
#include <profiling_writer.h>
Public Member Functions | |
ProfilingWriter (IFrameWriter &writer, core::IArena &arena, const SampleSpec &sample_spec, ProfilerConfig profiler_config) | |
Initialization. More... | |
bool | is_valid () const |
Check if the profiler 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... | |
Profiling writer.
Definition at line 26 of file profiling_writer.h.
roc::audio::ProfilingWriter::ProfilingWriter | ( | IFrameWriter & | writer, |
core::IArena & | arena, | ||
const SampleSpec & | sample_spec, | ||
ProfilerConfig | profiler_config | ||
) |
Initialization.
bool roc::audio::ProfilingWriter::is_valid | ( | ) | const |
Check if the profiler was succefully constructed.
|
virtual |
Write audio frame.
Implements roc::audio::IFrameWriter.