|
Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
#include <watchdog.h>
Public Member Functions | |
| Watchdog (IFrameReader &reader, const audio::SampleSpec &sample_spec, const WatchdogConfig &config, core::IAllocator &allocator) | |
| Initialize. | |
| bool | valid () const |
| Check if object is successfully constructed. | |
| virtual bool | read (Frame &frame) |
| Read audio frame. | |
| bool | update () |
| Update stream. | |
| virtual bool | read (Frame &frame)=0 |
| Read audio frame. | |
Public Member Functions inherited from roc::core::ListNode | |
| ListNodeData * | list_node_data () const |
| Get list node data. | |
Definition at line 66 of file watchdog.h.
| roc::audio::Watchdog::Watchdog | ( | IFrameReader & | reader, |
| const audio::SampleSpec & | sample_spec, | ||
| const WatchdogConfig & | config, | ||
| core::IAllocator & | allocator | ||
| ) |
Initialize.
|
virtual |
Read audio frame.
Implements roc::audio::IFrameReader.
| bool roc::audio::Watchdog::update | ( | ) |
Update stream.
| bool roc::audio::Watchdog::valid | ( | ) | const |
Check if object is successfully constructed.