mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
rate limit a warning
This commit is contained in:
parent
a365c8212d
commit
afd817a0b6
1 changed files with 2 additions and 1 deletions
|
|
@ -206,7 +206,8 @@ void pa_asyncq_post(pa_asyncq*l, void *p) {
|
||||||
/* OK, we couldn't push anything in the queue. So let's queue it
|
/* OK, we couldn't push anything in the queue. So let's queue it
|
||||||
* locally and push it later */
|
* locally and push it later */
|
||||||
|
|
||||||
pa_log("q overrun, queuing locally");
|
if (pa_log_ratelimit())
|
||||||
|
pa_log_warn("q overrun, queuing locally");
|
||||||
|
|
||||||
if (!(q = pa_flist_pop(PA_STATIC_FLIST_GET(localq))))
|
if (!(q = pa_flist_pop(PA_STATIC_FLIST_GET(localq))))
|
||||||
q = pa_xnew(struct localq, 1);
|
q = pa_xnew(struct localq, 1);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue