![]() |
Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
Sink interface. More...
#include <roc_sndio/isink.h>
Additional Inherited Members | |
![]() | |
virtual ISink * | to_sink ()=0 |
Cast IDevice to ISink. | |
virtual ISource * | to_source ()=0 |
Cast IDevice to ISink. | |
virtual DeviceType | type () const =0 |
Get device type. | |
virtual DeviceState | state () const =0 |
Get device state. | |
virtual void | pause ()=0 |
Pause device. | |
virtual bool | resume ()=0 |
Resume device after pause. | |
virtual bool | restart ()=0 |
Restart device. | |
virtual audio::SampleSpec | sample_spec () const =0 |
Get sample specification of the device. | |
virtual core::nanoseconds_t | latency () const =0 |
Get latency of the device. | |
virtual bool | has_latency () const =0 |
Check if the device supports latency reports. | |
virtual bool | has_clock () const =0 |
Check if the device has own clock. | |
![]() | |
virtual void | write (Frame &frame)=0 |
Write audio frame. | |
![]() | |
ListData * | list_data () const |
Get pointer to internal data. | |
![]() | |
static ListNode * | list_node (ListData *data) |
Get pointer to parent node from pointer to internal data. | |