mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
log: place more rate limit invocations
This commit is contained in:
parent
fd1266c666
commit
58d441f7ea
2 changed files with 5 additions and 2 deletions
|
|
@ -1292,7 +1292,8 @@ static void thread_func(void *userdata) {
|
|||
* we have filled the buffer at least once
|
||||
* completely.*/
|
||||
|
||||
pa_log_debug("Cutting sleep time for the initial iterations by half.");
|
||||
if (pa_log_ratelimit())
|
||||
pa_log_debug("Cutting sleep time for the initial iterations by half.");
|
||||
sleep_usec /= 2;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue