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.


  • You must to post comments

Thanks for the bug report.

For M4A playback we use the AudioQueue API, it’s hard to say what might be going wrong at this stage.
Could you post a link to the troublesome M4A? or perhaps e-mail it to support@fmod.org.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.