I have found out how to get the raw PCM data using FMODX, but now comes the (probably) difficult part.
I am wondering how I am to convert a stereo audio file to a mono file?
Help is very much appreciated.
- TDLGames asked 10 years ago
yes it is 0, and no it is not bytes, it is samples.
pointers (monoout and stereoin) are whatever size your sample data is (ie signed short = 16bit). *2 is for stereo, it is selecting left and right (data is interleaved l/r/l/r/etc). See the intro tutorial in the fmod documentation for more on sound formats.
Please login first to submit.