![]() |
Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
Sink interface. More...
#include <isink.h>
Public Member Functions | |
virtual size_t | sample_rate () const =0 |
Get sample rate of the sink. More... | |
virtual bool | has_clock () const =0 |
Check if the sink has own clock. More... | |
![]() | |
virtual void | write (Frame &frame)=0 |
Write audio frame. More... | |
|
pure virtual |
Check if the sink has own clock.
Implemented in roc::sndio::SoxSink, roc::sndio::PulseaudioSink, roc::pipeline::Sender, and roc::pipeline::Converter.
|
pure virtual |
Get sample rate of the sink.
Implemented in roc::sndio::SoxSink, roc::sndio::PulseaudioSink, roc::pipeline::Sender, and roc::pipeline::Converter.