X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=compress_filter.c;h=f98fb413b2498311d25299fe9dfabfcad87af823;hp=d01325960f39d15743affd26b5382e4e31cd1d10;hb=6b966e1df730ab787014b4bd5dd08214d3722bfe;hpb=1acc8bcc050a7b8f427e04dcc457efa0fdbb9507 diff --git a/compress_filter.c b/compress_filter.c index d0132596..f98fb413 100644 --- a/compress_filter.c +++ b/compress_filter.c @@ -80,6 +80,7 @@ next_buffer: sample *= pcd->current_gain; sample >>= gain_shift; if (sample > 32767) { /* clip */ + PARA_WARNING_LOG("clip: %d\n", sample); sample = 32767; pcd->current_gain = (3 * pcd->current_gain + (1 << inertia)) / 4;