Christian Hoene wrote:

> the attached program converts a file to one channel and a sampling  
> rate of 8000. If the input is a stereo file, then the duration of  
> the output file is half of the duration of the input file. The last  
> half is missing.

sox_add_effect() modifies its "in" parameter, which therefore must not  
be the same as that used by the input format handler. See this commit  
on how to fix it:
https://github.com/uklauer/sox/commit/5fb5573e26bdac46be6953e0e0399d1a2aaeb350

Ulrich


------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
SoX-devel mailing list
SoX-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-devel

Reply via email to