Is it possible to readData from FMOD::Sound with a point of specific FMOD_SOUND_FORMAT.
For example, I have two different files MP3 and MIDI.
MP3 has FMOD_SOUND_FORMAT_PCM16, but MIDI has FMOD_SOUND_FORMAT_PCMFLOAT.
I need one procudere to read it with ONE format.
Must I to convert format myself?
I need function something like Sound::setReedFormat(FMOD_SOUND_FORMAT) and place all work with format interconvertions to FMOD.
I have found the feature of FMOD:
If I setup format in FMOD_CREATESOUNDEXINFO for MIDI files it USE IT!
In my example I can setup PCM16 for MIDI file instead of standart FLOAT.
But I can’t change the FORMAT for MP3…
On forum I have found abother solution for single sample format based on FMOD_OUTPUTTYPE_NOSOUND_NRT. Where can I find full example?
- cemehehko asked 9 years ago
- You must login to post comments