summaryrefslogtreecommitdiffstats
path: root/gst/audioresample/buffer.h
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2005-12-02 11:34:50 +0000
committerWim Taymans <wim.taymans@gmail.com>2005-12-02 11:34:50 +0000
commitc962e657c3ce4ef1ba270b9c298d07eb9e3b1c09 (patch)
tree44e5b1068699db69a59d2772d4930723eca0acad /gst/audioresample/buffer.h
parent130b68aeff56298ade65ce96fb4966356afb5cd5 (diff)
downloadgst-plugins-bad-c962e657c3ce4ef1ba270b9c298d07eb9e3b1c09.tar.gz
gst-plugins-bad-c962e657c3ce4ef1ba270b9c298d07eb9e3b1c09.tar.bz2
gst-plugins-bad-c962e657c3ce4ef1ba270b9c298d07eb9e3b1c09.zip
gst/audioresample/: Fix audioresample, seek torture, new segments, reverse negotiation etc.. work fine.
Original commit message from CVS: * gst/audioresample/buffer.c: (audioresample_buffer_queue_flush): * gst/audioresample/buffer.h: * gst/audioresample/gstaudioresample.c: * gst/audioresample/gstaudioresample.h: * gst/audioresample/resample.c: (resample_input_flush), (resample_input_pushthrough), (resample_input_eos), (resample_get_output_size_for_input), (resample_get_input_size_for_output), (resample_get_output_size), (resample_get_output_data): * gst/audioresample/resample.h: * gst/audioresample/resample_ref.c: (resample_scale_ref): Fix audioresample, seek torture, new segments, reverse negotiation etc.. work fine.
Diffstat (limited to 'gst/audioresample/buffer.h')
-rw-r--r--gst/audioresample/buffer.h35
1 files changed, 19 insertions, 16 deletions
diff --git a/gst/audioresample/buffer.h b/gst/audioresample/buffer.h
index 17fb5f90..35b15e7c 100644
--- a/gst/audioresample/buffer.h
+++ b/gst/audioresample/buffer.h
@@ -28,21 +28,24 @@ struct _AudioresampleBufferQueue
int offset;
};
-AudioresampleBuffer *audioresample_buffer_new (void);
-AudioresampleBuffer *audioresample_buffer_new_and_alloc (int size);
-AudioresampleBuffer *audioresample_buffer_new_with_data (void *data, int size);
-AudioresampleBuffer *audioresample_buffer_new_subbuffer (AudioresampleBuffer * buffer, int offset,
- int length);
-void audioresample_buffer_ref (AudioresampleBuffer * buffer);
-void audioresample_buffer_unref (AudioresampleBuffer * buffer);
-
-AudioresampleBufferQueue *audioresample_buffer_queue_new (void);
-void audioresample_buffer_queue_free (AudioresampleBufferQueue * queue);
-int audioresample_buffer_queue_get_depth (AudioresampleBufferQueue * queue);
-int audioresample_buffer_queue_get_offset (AudioresampleBufferQueue * queue);
-void audioresample_buffer_queue_push (AudioresampleBufferQueue * queue,
- AudioresampleBuffer * buffer);
-AudioresampleBuffer *audioresample_buffer_queue_pull (AudioresampleBufferQueue * queue, int len);
-AudioresampleBuffer *audioresample_buffer_queue_peek (AudioresampleBufferQueue * queue, int len);
+AudioresampleBuffer * audioresample_buffer_new (void);
+AudioresampleBuffer * audioresample_buffer_new_and_alloc (int size);
+AudioresampleBuffer * audioresample_buffer_new_with_data (void *data, int size);
+AudioresampleBuffer * audioresample_buffer_new_subbuffer (AudioresampleBuffer * buffer,
+ int offset,
+ int length);
+void audioresample_buffer_ref (AudioresampleBuffer * buffer);
+void audioresample_buffer_unref (AudioresampleBuffer * buffer);
+
+AudioresampleBufferQueue *
+ audioresample_buffer_queue_new (void);
+void audioresample_buffer_queue_free (AudioresampleBufferQueue * queue);
+int audioresample_buffer_queue_get_depth (AudioresampleBufferQueue * queue);
+int audioresample_buffer_queue_get_offset (AudioresampleBufferQueue * queue);
+void audioresample_buffer_queue_push (AudioresampleBufferQueue * queue,
+ AudioresampleBuffer * buffer);
+AudioresampleBuffer * audioresample_buffer_queue_pull (AudioresampleBufferQueue * queue, int len);
+AudioresampleBuffer * audioresample_buffer_queue_peek (AudioresampleBufferQueue * queue, int len);
+void audioresample_buffer_queue_flush (AudioresampleBufferQueue * queue);
#endif