summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Raghavan <arun.raghavan@collabora.co.uk>2012-11-22 10:00:07 +0530
committerArun Raghavan <arun.raghavan@collabora.co.uk>2013-03-25 09:47:04 +0000
commit33715281782e206ff02237a56002b1225a5631f8 (patch)
treeb1b20e52105999261b7d0208d62c2fda21e6661f
parent45f8ece06e163c18d287537bd34ad4cf21b69229 (diff)
alsa: Minor debug log addition
It's helpful to know what kind of scheduling latency we're expecting in that debug log.
-rw-r--r--src/modules/alsa/alsa-sink.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modules/alsa/alsa-sink.c b/src/modules/alsa/alsa-sink.c
index 3ac3a363..97fddbfd 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)