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

Profiling reader. More...

#include <profiling_reader.h>

Inheritance diagram for roc::audio::ProfilingReader:
Collaboration diagram for roc::audio::ProfilingReader:

Public Member Functions

 ProfilingReader (IFrameReader &reader, 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 bool read (Frame &frame)
 Read 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 reader.

Definition at line 26 of file profiling_reader.h.

Constructor & Destructor Documentation

◆ ProfilingReader()

roc::audio::ProfilingReader::ProfilingReader ( IFrameReader reader,
core::IArena arena,
const SampleSpec sample_spec,
ProfilerConfig  profiler_config 
)

Initialization.

Member Function Documentation

◆ is_valid()

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

Check if the profiler was succefully constructed.

◆ read()

virtual bool roc::audio::ProfilingReader::read ( Frame frame)
virtual

Read audio frame.

Implements roc::audio::IFrameReader.


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