From c22c653634658511cd10c423840ca462ba8b12b3 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sat, 9 Oct 2021 19:42:52 +0200 Subject: [PATCH] compress: Demote log level of clip message. These messages trigger from time to time without having much audible effect, so they are usually not serious. --- compress_filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compress_filter.c b/compress_filter.c index 15bed6df..ff4ce6fb 100644 --- a/compress_filter.c +++ b/compress_filter.c @@ -79,7 +79,7 @@ next_buffer: sample *= pcd->current_gain; sample >>= inertia + 1; if (sample > 32767) { /* clip */ - PARA_WARNING_LOG("clip: %d\n", sample); + PARA_NOTICE_LOG("clip: %d\n", sample); sample = 32767; pcd->current_gain = (3 * pcd->current_gain + (1 << inertia)) / 4; -- 2.39.2