|
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... | |
Public Member Functions inherited from roc::audio::IWriter | |
| virtual void | write (Frame &frame)=0 |
| Write audio frame. More... | |
|
pure virtual |
Check if the sink has own clock.
Implemented in roc::pipeline::Converter, roc::pipeline::Sender, roc::sndio::PulseaudioSink, and roc::sndio::SoxSink.
|
pure virtual |
Get sample rate of the sink.
Implemented in roc::pipeline::Converter, roc::pipeline::Sender, roc::sndio::PulseaudioSink, and roc::sndio::SoxSink.