Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
Fanout. Duplicates audio stream to multiple output writers. More...
#include <fanout.h>
Public Member Functions | |
bool | has_output (IFrameWriter &) |
Check if writer is already added. More... | |
void | add_output (IFrameWriter &) |
Add output writer. More... | |
void | remove_output (IFrameWriter &) |
Remove output writer. More... | |
virtual void | write (Frame &frame) |
Write 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... | |
void roc::audio::Fanout::add_output | ( | IFrameWriter & | ) |
Add output writer.
bool roc::audio::Fanout::has_output | ( | IFrameWriter & | ) |
Check if writer is already added.
void roc::audio::Fanout::remove_output | ( | IFrameWriter & | ) |
Remove output writer.
|
virtual |
Write audio frame.
Implements roc::audio::IFrameWriter.