mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
audio: fix warnings building on macosx
This commit is contained in:
parent
e81303b733
commit
ccec231d2b
2 changed files with 7 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue