mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-01 22:58:47 -04:00
alsa: Minor debug log addition
It's helpful to know what kind of scheduling latency we're expecting in that debug log.
This commit is contained in:
parent
45f8ece06e
commit
3371528178
1 changed files with 3 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue