|
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... | |
| virtual void | read (Frame &frame)=0 |
| Read audio frame. More... | |
Public Member Functions inherited from roc::core::ListNode | |
| 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.