Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
roc::sndio::ISink Class Referenceabstract

Sink interface. More...

#include <isink.h>

Inheritance diagram for roc::sndio::ISink:
Collaboration diagram for roc::sndio::ISink:

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...

Detailed Description

Sink interface.

Definition at line 21 of file isink.h.

Member Function Documentation

virtual bool roc::sndio::ISink::has_clock ( ) const
pure virtual

Check if the sink has own clock.

Implemented in roc::pipeline::Sender, roc::sndio::SoxSink, roc::pipeline::Converter, and roc::sndio::PulseaudioSink.

virtual size_t roc::sndio::ISink::sample_rate ( ) const
pure virtual

The documentation for this class was generated from the following file: