From ccec231d2b3a5e14db041fa5c4d6bbf21bb56d64 Mon Sep 17 00:00:00 2001 From: Josep Torra Date: Fri, 9 Oct 2009 14:07:24 +0200 Subject: [PATCH] audio: fix warnings building on macosx --- gst-libs/gst/audio/gstbaseaudiosrc.c | 5 +++-- gst-libs/gst/audio/gstringbuffer.c | 7 ++++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/gst-libs/gst/audio/gstbaseaudiosrc.c b/gst-libs/gst/audio/gstbaseaudiosrc.c index 0d615228b2..ab28c52304 100644 --- a/gst-libs/gst/audio/gstbaseaudiosrc.c +++ b/gst-libs/gst/audio/gstbaseaudiosrc.c @@ -342,8 +342,9 @@ gst_base_audio_src_get_time (GstClock * clock, GstBaseAudioSrc * src) src->ringbuffer->spec.rate); GST_DEBUG_OBJECT (src, - "processed samples: raw %llu, delay %u, real %llu, time %" - GST_TIME_FORMAT, raw, delay, samples, GST_TIME_ARGS (result)); + "processed samples: raw %" G_GUINT64_FORMAT ", delay %u, real %" + G_GUINT64_FORMAT ", time %" GST_TIME_FORMAT, raw, delay, samples, + GST_TIME_ARGS (result)); return result; } diff --git a/gst-libs/gst/audio/gstringbuffer.c b/gst-libs/gst/audio/gstringbuffer.c index bf8f5b548c..7adeee340a 100644 --- a/gst-libs/gst/audio/gstringbuffer.c +++ b/gst-libs/gst/audio/gstringbuffer.c @@ -1415,8 +1415,8 @@ gst_ring_buffer_set_sample (GstRingBuffer * buf, guint64 sample) gst_ring_buffer_clear_all (buf); - GST_DEBUG_OBJECT (buf, "set sample to %llu, segbase %d", sample, - buf->segbase); + GST_DEBUG_OBJECT (buf, "set sample to %" G_GUINT64_FORMAT ", segbase %d", + sample, buf->segbase); } static void @@ -1888,7 +1888,8 @@ gst_ring_buffer_read (GstRingBuffer * buf, guint64 sample, guchar * data, diff = segdone - readseg; GST_DEBUG - ("pointer at %d, sample %llu, read from %d-%d, to_read %d, diff %d, segtotal %d, segsize %d", + ("pointer at %d, sample %" G_GUINT64_FORMAT + ", read from %d-%d, to_read %d, diff %d, segtotal %d, segsize %d", segdone, sample, readseg, sampleoff, to_read, diff, segtotal, segsize);