Re: [SoX-devel] Sox with multiple threads?

2013-08-05 Thread Christian Hoene
Danke! -Ursprüngliche Nachricht- Von: Ulrich Klauer [mailto:ulr...@chirlu.de] Gesendet: Montag, 5. August 2013 19:29 An: sox-devel@lists.sourceforge.net Betreff: Re: [SoX-devel] Sox with multiple threads? Christian Hoene wrote: > One question. Is sox reentrant. Can I fork a sox program

Re: [SoX-devel] Sox with multiple threads?

2013-08-05 Thread Ulrich Klauer
Christian Hoene wrote: > One question. Is sox reentrant. Can I fork a sox program and run two > sox chains in parallel? When you call fork(), the address space is duplicated, so unless there are already open files, the processes are completely independent. Re-entrancy, on the other hand, is

Re: [SoX-devel] Bug in program or in libsox?

2013-08-05 Thread Ulrich Klauer
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" paramet