From: Arun Raghavan Date: Thu, 22 Nov 2012 04:30:07 +0000 (+0530) Subject: alsa: Minor debug log addition X-Git-Tag: v3.99.1~29 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=33715281782e206ff02237a56002b1225a5631f8;p=platform%2Fupstream%2Fpulseaudio.git alsa: Minor debug log addition It's helpful to know what kind of scheduling latency we're expecting in that debug log. --- 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)