shithub: sox

Download patch

ref: 7faab63822413b15459d55970ce155de19197bf3
parent: c6b7f738caa13c26ed423d21f3246a60fd35075a
author: cbagwell <cbagwell>
date: Sun Sep 18 22:22:46 EDT 2005

voxwrite() was not returning number of samples written.

--- a/src/vox.c
+++ b/src/vox.c
@@ -302,7 +302,7 @@
              state->store.byte = byte;
              state->store.flag = flag;
         
-             return (ST_SUCCESS);
+             return (count);
            }
 
 /******************************************************************************