12#ifndef ROC_SNDIO_ISOURCE_H_
13#define ROC_SNDIO_ISOURCE_H_
@ Idle
Source is running but is inactive. It is producing silence. It may be safely paused.
@ Paused
Source is paused. It's not producing anything.
@ Playing
Source is running and active. It is producing some sound.
virtual State state() const =0
Get current source state.
virtual bool restart()=0
Restart reading from the beginning.
virtual void reclock(packet::ntp_timestamp_t timestamp)=0
Adjust source clock to match consumer clock.
virtual bool resume()=0
Resume paused reading.
virtual void pause()=0
Pause reading.
Base interface for sinks and sources.
uint64_t ntp_timestamp_t
NTP timestamp.
Utitilies for NTP timestamp.