0
0

when I called
system->createStream([soundPath UTF8String], FMOD_SOFTWARE | FMOD_OPENONLY | FMOD_ACCURATETIME, NULL, &sound)
to load a mp3 file, it crashes and the stack is:

0 0x00111e53 in FMOD::CodecAudioQueue::closeInternal ()

1 0x0005aba6 in FMOD::Codec::release ()

2 0x000e9901 in FMOD::SystemI::createSoundInternal ()

3 0x000ed3a0 in FMOD::SystemI::createSound ()

4 0x000dbcd7 in FMOD::System::createStream ()

5 0x00013742 in -[FmodOfflineDecoding internalInitFMOD] (self=0x5b7f6c0, _cmd=0x1172a3)

Console log:

FMOD: CodecAudioQueue::openInternal : attempting to open as audio queue..
FMOD: CodecAudioQueue::setupAudioFile : Cannot open audio file. (err: 1954115647)
Program received signal: “EXC_BAD_ACCESS”.

It works fine with the stable v4.30.06

Any suggestion? Thanks!

  • You must to post comments
0
0

Thanks for the bug report, this bug has already been addressed for our next release 4.31.06.

As a temporary workaround, you can get the behavior of 4.30.xx by using FMOD_CREATESOUNDEXINFO and setting the suggestedsoundtype member to FMOD_SOUND_TYPE_MPEG.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.