shithub: sox

Download patch

ref: c6cfb326193221d67eaaf8168eb18e2d75494df1
parent: 9290f6558259090c1bae1703871b271e219cfb73
author: robs <robs>
date: Sat Nov 18 14:24:01 EST 2006

Fix vibro block size error.

--- a/Changelog
+++ b/Changelog
@@ -41,6 +41,9 @@
   o Fix broken audio when using deemph as follows:
     sox -t nul /dev/null -c 1 output.wav synth 1 sine deemph
     (robs)
+  o Fix broken audio when using vibro as follows:
+    sox -t nul /dev/null -c 1 output.wav synth 1 sine vibro 20
+    (robs)
 
 sox-12.18.2
 -----------
--- a/src/vibro.c
+++ b/src/vibro.c
@@ -125,6 +125,7 @@
         }
         vibro->counter = counter;
         /* processed all samples */
+        *isamp = *osamp = len;
         return (ST_SUCCESS);
 }