diff --git a/gst-libs/gst/audio/gstaudioringbuffer.h b/gst-libs/gst/audio/gstaudioringbuffer.h index daf3e6ca69..0fe9babb6d 100644 --- a/gst-libs/gst/audio/gstaudioringbuffer.h +++ b/gst-libs/gst/audio/gstaudioringbuffer.h @@ -66,22 +66,6 @@ typedef enum { GST_AUDIO_RING_BUFFER_STATE_STARTED } GstAudioRingBufferState; -/** - * GstAudioRingBufferSegState: - * @GST_SEGSTATE_INVALID: The content of the segment is invalid - * @GST_SEGSTATE_EMPTY: The segment is empty - * @GST_SEGSTATE_FILLED: The segment contains valid data - * @GST_SEGSTATE_PARTIAL: The segment partially contains valid data - * - * The state of a segment in the ringbuffer. - */ -typedef enum { - GST_SEGSTATE_INVALID, - GST_SEGSTATE_EMPTY, - GST_SEGSTATE_FILLED, - GST_SEGSTATE_PARTIAL -} GstAudioRingBufferSegState; - /** * GstBufferFormatType: * @GST_BUFTYPE_RAW: samples in linear or float @@ -193,7 +177,6 @@ struct _GstAudioRingBuffer { guint8 *memory; gsize size; GstAudioRingBufferSpec spec; - GstAudioRingBufferSegState *segstate; gint samples_per_seg; guint8 *empty_seg;