From d14c383811d45333a7897fa8907da4ca60b20993 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Sat, 3 Jul 2021 21:14:48 +0200 Subject: [PATCH] pulse-server: silence UNDERFLOW warning to info Creating underflows is standard behaviour for many clients. PulseAudio does not warn about this so we should not either. Fixes #910 --- src/modules/module-protocol-pulse/stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/module-protocol-pulse/stream.c b/src/modules/module-protocol-pulse/stream.c index ec9543dc2..a753a9b7e 100644 --- a/src/modules/module-protocol-pulse/stream.c +++ b/src/modules/module-protocol-pulse/stream.c @@ -140,7 +140,7 @@ int stream_send_underflow(struct stream *stream, int64_t offset, uint32_t underr struct message *reply; if (ratelimit_test(&impl->rate_limit, stream->timestamp)) { - pw_log_warn("client %p [%s]: stream %p UNDERFLOW channel:%u offset:%" PRIi64 " underrun:%u", + pw_log_info("client %p [%s]: stream %p UNDERFLOW channel:%u offset:%" PRIi64 " underrun:%u", client, client->name, stream, stream->channel, offset, underrun_for); }