From 338622fe7e02a387c06347a20b7790a9b6dc3079 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 20 Dec 2011 14:34:50 +0100 Subject: [PATCH] audioringbuffer: Use guint8 instead of guchar --- gst-libs/gst/audio/gstaudioringbuffer.c | 8 ++++---- gst-libs/gst/audio/gstaudioringbuffer.h | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/gst-libs/gst/audio/gstaudioringbuffer.c b/gst-libs/gst/audio/gstaudioringbuffer.c index db62b4acc..eae7c37f1 100644 --- a/gst-libs/gst/audio/gstaudioringbuffer.c +++ b/gst-libs/gst/audio/gstaudioringbuffer.c @@ -54,7 +54,7 @@ static void gst_audio_ring_buffer_finalize (GObject * object); static gboolean gst_audio_ring_buffer_pause_unlocked (GstAudioRingBuffer * buf); static void default_clear_all (GstAudioRingBuffer * buf); static guint default_commit (GstAudioRingBuffer * buf, guint64 * sample, - guchar * data, gint in_samples, gint out_samples, gint * accum); + guint8 * data, gint in_samples, gint out_samples, gint * accum); /* ringbuffer abstract base class */ G_DEFINE_ABSTRACT_TYPE (GstAudioRingBuffer, gst_audio_ring_buffer, @@ -1365,7 +1365,7 @@ G_STMT_START { \ static guint default_commit (GstAudioRingBuffer * buf, guint64 * sample, - guchar * data, gint in_samples, gint out_samples, gint * accum) + guint8 * data, gint in_samples, gint out_samples, gint * accum) { gint segdone; gint segsize, segtotal, bpf, sps; @@ -1529,7 +1529,7 @@ not_started: */ guint gst_audio_ring_buffer_commit (GstAudioRingBuffer * buf, guint64 * sample, - guchar * data, gint in_samples, gint out_samples, gint * accum) + guint8 * data, gint in_samples, gint out_samples, gint * accum) { GstAudioRingBufferClass *rclass; guint res = -1; @@ -1569,7 +1569,7 @@ gst_audio_ring_buffer_commit (GstAudioRingBuffer * buf, guint64 * sample, */ guint gst_audio_ring_buffer_read (GstAudioRingBuffer * buf, guint64 sample, - guchar * data, guint len) + guint8 * data, guint len) { gint segdone; gint segsize, segtotal, bpf, sps; diff --git a/gst-libs/gst/audio/gstaudioringbuffer.h b/gst-libs/gst/audio/gstaudioringbuffer.h index 79f84df84..daf3e6ca6 100644 --- a/gst-libs/gst/audio/gstaudioringbuffer.h +++ b/gst-libs/gst/audio/gstaudioringbuffer.h @@ -255,7 +255,7 @@ struct _GstAudioRingBufferClass { gboolean (*activate) (GstAudioRingBuffer *buf, gboolean active); guint (*commit) (GstAudioRingBuffer * buf, guint64 *sample, - guchar * data, gint in_samples, + guint8 * data, gint in_samples, gint out_samples, gint * accum); void (*clear_all) (GstAudioRingBuffer * buf); @@ -314,12 +314,12 @@ void gst_audio_ring_buffer_clear_all (GstAudioRingBuffer *buf); /* commit samples */ guint gst_audio_ring_buffer_commit (GstAudioRingBuffer * buf, guint64 *sample, - guchar * data, gint in_samples, + guint8 * data, gint in_samples, gint out_samples, gint * accum); /* read samples */ guint gst_audio_ring_buffer_read (GstAudioRingBuffer *buf, guint64 sample, - guchar *data, guint len); + guint8 *data, guint len); /* mostly protected */ /* not yet implemented -- 2.34.1