shithub: sox

Download patch

ref: b182b778f439e7290cdb65e5456a460221cecc6f
parent: d1d432ebe0152dd93f6b083b60e5f717e60a9685
author: robs <robs>
date: Sat Nov 25 03:14:23 EST 2006

Improvements to clipping detection and reporting.

--- a/src/sox.c
+++ b/src/sox.c
@@ -1670,7 +1670,7 @@
 static void statistics(void) 
 {
     if (clipped > 0)
-        st_report("Volume change clipped %d samples", clipped);
+        st_warn("Volume change clipped %d samples", clipped);
 }
 
 static st_sample_t volumechange(st_sample_t *buf, st_ssize_t ct,