From be761d16f78eeb062f4d268e3b80ff6d225f767f Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Tue, 2 Apr 2013 16:34:58 +0000 Subject: [PATCH] compress: Remove log statement in inner loop. We don't want to spam the log, and killing the statement seems to make it a bit faster as well. --- compress_filter.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/compress_filter.c b/compress_filter.c index cf55985c..b01c01a4 100644 --- a/compress_filter.c +++ b/compress_filter.c @@ -81,8 +81,6 @@ next_buffer: adjusted_sample *= pcd->current_gain; adjusted_sample >>= gain_shift; if (adjusted_sample > 32767) { /* clip */ - PARA_NOTICE_LOG("clip: sample: %d, adjusted sample: %d\n", - sample, adjusted_sample); adjusted_sample = 32767; pcd->current_gain = (3 * pcd->current_gain + (1 << pcd->conf->inertia_arg)) / 4; -- 2.39.5