projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2176cbf
)
compress: Demote log level of clip message.
author
Andre Noll
<maan@tuebingen.mpg.de>
Sat, 9 Oct 2021 17:42:52 +0000
(19:42 +0200)
committer
Andre Noll
<maan@tuebingen.mpg.de>
Thu, 21 Oct 2021 14:31:28 +0000
(16:31 +0200)
These messages trigger from time to time without having much audible
effect, so they are usually not serious.
compress_filter.c
patch
|
blob
|
history
diff --git
a/compress_filter.c
b/compress_filter.c
index 15bed6dfa33c896421ab17a89ec426669cf4b025..ff4ce6fb7663c5a0c35e1a42b433060b3b162b89 100644
(file)
--- 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;