Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
roc::audio::ProfilingWriter Class Reference

Profiling writer. More...

#include <profiling_writer.h>

Inheritance diagram for roc::audio::ProfilingWriter:
Collaboration diagram for roc::audio::ProfilingWriter:

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 >
ListDatalist_data () const
 Get pointer to internal data. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from roc::core::ListNode< Tag >
static ListNodelist_node (ListData *data)
 Get pointer to parent node from pointer to internal data. More...
 

Detailed Description

Profiling writer.

Definition at line 26 of file profiling_writer.h.

Constructor & Destructor Documentation

◆ ProfilingWriter()

roc::audio::ProfilingWriter::ProfilingWriter ( IFrameWriter writer,
core::IArena arena,
const SampleSpec sample_spec,
ProfilerConfig  profiler_config 
)

Initialization.

Member Function Documentation

◆ is_valid()

bool roc::audio::ProfilingWriter::is_valid ( ) const

Check if the profiler was succefully constructed.

◆ write()

virtual void roc::audio::ProfilingWriter::write ( Frame frame)
virtual

Write audio frame.

Implements roc::audio::IFrameWriter.


The documentation for this class was generated from the following file: