Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
#include <watchdog.h>
Public Member Functions | |
Watchdog (IFrameReader &reader, const SampleSpec &sample_spec, const WatchdogConfig &config, core::IArena &arena) | |
Initialize. More... | |
bool | is_valid () const |
Check if object is successfully constructed. More... | |
bool | is_alive () const |
Check if stream is still alive. More... | |
virtual bool | read (Frame &frame) |
Read 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... | |
Definition at line 93 of file watchdog.h.
roc::audio::Watchdog::Watchdog | ( | IFrameReader & | reader, |
const SampleSpec & | sample_spec, | ||
const WatchdogConfig & | config, | ||
core::IArena & | arena | ||
) |
Initialize.
bool roc::audio::Watchdog::is_alive | ( | ) | const |
Check if stream is still alive.
bool roc::audio::Watchdog::is_valid | ( | ) | const |
Check if object is successfully constructed.
|
virtual |
Read audio frame.
Implements roc::audio::IFrameReader.