0
0

Is there anything within FMOD that converts the audio formats it supports to WAV, and can store the results on disk?

I’m looking for this information so I might create AVI with sound, and AVI requires WAV format.

Thanks!

  • You must to post comments
0
0

You may convert mp3s to WAV files with FMOD using the FSOUND_OUTPUT_NOSOUND_NONREALTIME flag set when calling the function FSOUND_SetOutput, create a DSP procedure and stream the data to disk. See the documentation for more details in it.
You should also take a look on how is structured a WAV file (expecially the header) and convert the data that FMOD feeds from 32bit floats to 16bit integer (if you use non-MMX mixers).

About MIDI, I think they just take another path (directly to MCI and DirectMusic, I think), so they cannot be handled from FMOD DSPs. On this Brett should reply.

  • You must to post comments
0
0

Here you can find a sample on how to convert data to wav/ogg/mp3 with the sample_lock/unlock method :

http://starnetasso.free.fr/Upload/Encoder.zip

blackshard>Hi Master, nice to meet u 😛

  • You must to post comments
0
0

I’m glad to know it can be done, but I can’t follow how. Are there any Delphi examples available?

Thanks.

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.