What is the best approach to loading a multi-track / multi-channel audio (music) file with FMOD?
I’m trying to load a 3-channel AAC (in M4A container) file, but I’m getting errors when calling FMOD_System_CreateStream.
In the Simulator FMOD_ERR_INTERNAL ("An error occured that wasn’t supposed to. Contact support.") is returned and on the Device FMOD_ERR_FORMAT ("Error Unsupported file or audio format.") is returned.
When using a 2-channel AAC/m4a file there are no errors.
The same AAC/m4a file does load nicely using Apple’s AudioQueue functions.
I also tried passing a FMOD_CREATESOUNDEXINFO to the FMOD_System_CreateStream call with some hints (numchannels = 3, suggestedsoundtype = FMOD_SOUND_TYPE_AUDIOQUEUE) but that didn’t help either.
Thanks in advance.
- martijnthe asked 7 years ago
- You must login to post comments
Please login first to submit.