shithub: sox

Download patch

ref: 2076827f848f595b5506bc5927db1489e8e896be
parent: 46b32db78ce8fc0bc2e2e9fd66e9dcdda2a2e503
author: robs <robs>
date: Sun Jun 7 16:13:24 EDT 2009

quash debug output

--- a/src/vad.c
+++ b/src/vad.c
@@ -122,7 +122,7 @@
   p->trigger_slope_tc_mult2 = exp(-1 / (p->slope_tc2 * p->measure_freq));
   p->search_slope_tc_mult1 = exp(-1 / (p->slope_tc1 / p->search_step_time));
   p->search_slope_tc_mult2 = exp(-1 / (p->slope_tc2 / p->search_step_time));
-  lsx_warn("dft_len=%u measure_len=%u", p->dft_len, p->measure_len);
+  lsx_debug("dft_len=%u measure_len=%u", p->dft_len, p->measure_len);
   return SOX_SUCCESS;
 }
 
@@ -204,7 +204,7 @@
             * (1  - p->trigger_slope_tc_mult2) : slope;
         }
         c->last_meas = meas0;
-#if 1
+#if 0
         if (c->meas)
           fprintf(stderr, "%g\n", c->meas);
 #endif