![]() |
Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
#include <watchdog.h>
Public Member Functions | |
Watchdog (IReader &reader, size_t num_channels, const WatchdogConfig &config, size_t sample_rate, core::IAllocator &allocator) | |
Initialize. More... | |
bool | valid () const |
Check if object is successfully constructed. More... | |
virtual void | read (Frame &frame) |
Read audio frame. More... | |
bool | update () |
Update stream. More... | |
![]() | |
ListNodeData * | list_node_data () const |
Get list node data. More... | |
Definition at line 65 of file watchdog.h.
roc::audio::Watchdog::Watchdog | ( | IReader & | reader, |
size_t | num_channels, | ||
const WatchdogConfig & | config, | ||
size_t | sample_rate, | ||
core::IAllocator & | allocator | ||
) |
Initialize.
|
virtual |
Read audio frame.
Implements roc::audio::IReader.
bool roc::audio::Watchdog::update | ( | ) |
Update stream.
bool roc::audio::Watchdog::valid | ( | ) | const |
Check if object is successfully constructed.