mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-13 13:29:58 -05:00
ratelimit: fix log levels of log suppression messages
When logging a suppression message do so on the same log level as the
suppressed messages.
Cherry picked by Colin Guthrie from ec5a785712
with a couple of additional changes due to extra limiting in master
that was not present in stable-queue.
This commit is contained in:
parent
a509f10f95
commit
1250b5d735
13 changed files with 19 additions and 18 deletions
|
|
@ -23,6 +23,7 @@
|
|||
***/
|
||||
|
||||
#include <pulse/sample.h>
|
||||
#include <pulsecore/log.h>
|
||||
#include <pulsecore/macro.h>
|
||||
|
||||
typedef struct pa_ratelimit {
|
||||
|
|
@ -51,6 +52,6 @@ typedef struct pa_ratelimit {
|
|||
r->begin = 0; \
|
||||
} while (FALSE);
|
||||
|
||||
pa_bool_t pa_ratelimit_test(pa_ratelimit *r);
|
||||
pa_bool_t pa_ratelimit_test(pa_ratelimit *r, pa_log_level_t t);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue