shithub: sox

Download patch

ref: b70926425660d226a8c5a9e4881d0ecd471126eb
parent: ff59604fd34c3228bd6fc4cf883d0167045726b9
author: robs <robs>
date: Fri Jun 5 12:04:34 EDT 2009

mark vad as alpha

--- a/FEATURES.in
+++ b/FEATURES.in
@@ -92,6 +92,7 @@
 ** silence: Remove portions of silence from the audio
 ** splice: Perform the equivalent of a cross-faded tape splice
 ** trim: Trim the ends of the audio
+** vad+: Prototype `silence' variant (W.I.P.)
 
 * Mixing effects
 ** channels: Auto mix or duplicate to change number of channels
--- a/src/vad.c
+++ b/src/vad.c
@@ -180,7 +180,7 @@
     "\n\t-r trigger-rise             (20 dB)"
     "\n\t-u trigger-up-time          (0.05 s)"
     "\n\t-p pre-trigger-buffer       (0.05 s)"
-    , SOX_EFF_MCHAN | SOX_EFF_LENGTH | SOX_EFF_MODIFY,
+    , SOX_EFF_MCHAN | SOX_EFF_LENGTH | SOX_EFF_MODIFY | SOX_EFF_ALPHA,
     create, start, flow_trigger, drain, stop, NULL, sizeof(priv_t)
   };
   return &handler;