I have integrated SoX (Sound eXchange) source code into another software which works fine, I have it open a wav file, process it and save to an output file, which the rest of the software then uses....