Commit 4f49c7a3 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

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
parent e79f0e80
......@@ -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;
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment