X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=compress_filter.c;h=7bd3027105f95ba4ab1f3adf5d89ec2ad9722755;hb=610cb53b94af8e95326cd44b7845f35cffdb6bf3;hp=15bed6dfa33c896421ab17a89ec426669cf4b025;hpb=c75c35b176cdacf157d27617e954961c88f33975;p=paraslash.git diff --git a/compress_filter.c b/compress_filter.c index 15bed6df..7bd30271 100644 --- a/compress_filter.c +++ b/compress_filter.c @@ -66,7 +66,7 @@ next_buffer: if (inplace) op = ip; else - op = para_malloc(length); + op = alloc(length); for (i = 0; i < length / 2; i++) { /* be careful in that heat, my dear */ int sample = *ip++; @@ -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;