Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
roc::audio::IReader Class Referenceabstract

Audio reader interface. More...

#include <ireader.h>

Inheritance diagram for roc::audio::IReader:
Collaboration diagram for roc::audio::IReader:

Public Member Functions

virtual void read (Frame &frame)=0
 Read audio frame. More...
- Public Member Functions inherited from roc::core::ListNode
ListNodeDatalist_node_data () const
 Get list node data. More...

Detailed Description

Audio reader interface.

Definition at line 22 of file ireader.h.

Member Function Documentation

virtual void roc::audio::IReader::read ( Frame frame)
pure virtual

Read audio frame.

Frame buffer and its size should be set by caller. The reader should fill the entire buffer and should not resize it.

Implemented in roc::audio::Watchdog, roc::audio::Mixer, roc::audio::ResamplerReader, roc::audio::Depacketizer, and roc::audio::PoisonReader.

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