mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-18 07:00:06 -05:00
some format fixes
This commit is contained in:
parent
9ebbcd46f9
commit
d00b9f1635
1 changed files with 3 additions and 2 deletions
|
|
@ -1628,7 +1628,8 @@ int pa_stream_get_time(pa_stream *s, pa_usec_t *r_usec)
|
||||||
if (r_usec)
|
if (r_usec)
|
||||||
*r_usec = res;
|
*r_usec = res;
|
||||||
|
|
||||||
pw_log_trace("stream %p: %ld %ld %ld %ld %ld %ld %ld", s, now, delay, read_time,
|
pw_log_trace("stream %p: %"PRIu64" %"PRIu64" %"PRIu64" %"PRIi64" %"PRIi64" %"PRIi64" %"PRIu64,
|
||||||
|
s, now, delay, read_time,
|
||||||
i->write_index, i->read_index,
|
i->write_index, i->read_index,
|
||||||
i->write_index - i->read_index,
|
i->write_index - i->read_index,
|
||||||
res);
|
res);
|
||||||
|
|
@ -1698,7 +1699,7 @@ const pa_timing_info* pa_stream_get_timing_info(pa_stream *s)
|
||||||
PA_CHECK_VALIDITY_RETURN_NULL(s->context, s->direction != PA_STREAM_UPLOAD, PA_ERR_BADSTATE);
|
PA_CHECK_VALIDITY_RETURN_NULL(s->context, s->direction != PA_STREAM_UPLOAD, PA_ERR_BADSTATE);
|
||||||
PA_CHECK_VALIDITY_RETURN_NULL(s->context, s->timing_info_valid, PA_ERR_NODATA);
|
PA_CHECK_VALIDITY_RETURN_NULL(s->context, s->timing_info_valid, PA_ERR_NODATA);
|
||||||
|
|
||||||
pw_log_trace("stream %p: %ld %ld %ld", s,
|
pw_log_trace("stream %p: %"PRIi64" %"PRIi64" %"PRIi64, s,
|
||||||
s->timing_info.write_index, s->timing_info.read_index,
|
s->timing_info.write_index, s->timing_info.read_index,
|
||||||
(s->timing_info.write_index - s->timing_info.read_index));
|
(s->timing_info.write_index - s->timing_info.read_index));
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue