mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
audioringbuffer: add GST_AUDIO_RING_BUFFER_STATE_ERROR state
API: GST_AUDIO_RING_BUFFER_STATE_ERROR https://bugzilla.gnome.org/show_bug.cgi?id=690197
This commit is contained in:
parent
e79f0e801e
commit
4f49c7a33b
1 changed files with 5 additions and 1 deletions
|
@ -57,13 +57,17 @@ typedef void (*GstAudioRingBufferCallback) (GstAudioRingBuffer *rbuf, guint8* da
|
|||
* @GST_AUDIO_RING_BUFFER_STATE_STOPPED: The ringbuffer is stopped
|
||||
* @GST_AUDIO_RING_BUFFER_STATE_PAUSED: The ringbuffer is paused
|
||||
* @GST_AUDIO_RING_BUFFER_STATE_STARTED: The ringbuffer is started
|
||||
* @GST_AUDIO_RING_BUFFER_STATE_ERROR: The ringbuffer has encountered an
|
||||
* error after it has been started, e.g. because the device was
|
||||
* disconnected (Since 1.2)
|
||||
*
|
||||
* The state of the ringbuffer.
|
||||
*/
|
||||
typedef enum {
|
||||
GST_AUDIO_RING_BUFFER_STATE_STOPPED,
|
||||
GST_AUDIO_RING_BUFFER_STATE_PAUSED,
|
||||
GST_AUDIO_RING_BUFFER_STATE_STARTED
|
||||
GST_AUDIO_RING_BUFFER_STATE_STARTED,
|
||||
GST_AUDIO_RING_BUFFER_STATE_ERROR
|
||||
} GstAudioRingBufferState;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue