From 33715281782e206ff02237a56002b1225a5631f8 Mon Sep 17 00:00:00 2001 From: Arun Raghavan Date: Thu, 22 Nov 2012 10:00:07 +0530 Subject: [PATCH] alsa: Minor debug log addition It's helpful to know what kind of scheduling latency we're expecting in that debug log. --- src/modules/alsa/alsa-sink.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/modules/alsa/alsa-sink.c b/src/modules/alsa/alsa-sink.c index 3ac3a36..97fddbf 100644 --- a/src/modules/alsa/alsa-sink.c +++ b/src/modules/alsa/alsa-sink.c @@ -1824,8 +1824,9 @@ static void thread_func(void *userdata) { (double) ((int64_t) real_sleep - (int64_t) rtpoll_sleep) / PA_USEC_PER_MSEC); #endif if (u->use_tsched && real_sleep > rtpoll_sleep + u->tsched_watermark) - pa_log_info("Scheduling delay of %0.2fms, you might want to investigate this to improve latency...", - (double) (real_sleep - rtpoll_sleep) / PA_USEC_PER_MSEC); + pa_log_info("Scheduling delay of %0.2fms > %0.2fms, you might want to investigate this to improve latency...", + (double) (real_sleep - rtpoll_sleep) / PA_USEC_PER_MSEC, + (double) (u->tsched_watermark) / PA_USEC_PER_MSEC); } if (u->sink->flags & PA_SINK_DEFERRED_VOLUME) -- 2.7.4