audioringbuffer: remove unused GstAudioRingBufferSegState enum and field

This commit is contained in:
Tim-Philipp Müller 2011-12-25 21:23:11 +00:00
parent 00d4a0c6d4
commit 80095caa40

View file

@ -66,22 +66,6 @@ typedef enum {
GST_AUDIO_RING_BUFFER_STATE_STARTED GST_AUDIO_RING_BUFFER_STATE_STARTED
} GstAudioRingBufferState; } 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: * GstBufferFormatType:
* @GST_BUFTYPE_RAW: samples in linear or float * @GST_BUFTYPE_RAW: samples in linear or float
@ -193,7 +177,6 @@ struct _GstAudioRingBuffer {
guint8 *memory; guint8 *memory;
gsize size; gsize size;
GstAudioRingBufferSpec spec; GstAudioRingBufferSpec spec;
GstAudioRingBufferSegState *segstate;
gint samples_per_seg; gint samples_per_seg;
guint8 *empty_seg; guint8 *empty_seg;