0
0

When the FMOD mixer thread does an allocation and it fails, it is almost impossible to recover from this gracefully (because of the threaded nature of the system, there is no function to return an error from), and sounds would start to drop out. Because we think this is fatal, and leads to subtle or not so subtle audio bugs – the mixer now emits a pulsating sine wave noise to tell you it is out of memory.

It also generates a callback FMOD_SYSTEM_CALLBACKTYPE_MEMORYALLOCATIONFAILED via System::setCallback.

It also periodically logs a message via the tty or log file to say the mixer has failed

This behaviour only occurs in FMOD 4.42 and upwards.

  • You must to post comments
0
0

to avoid this sound, use
[code:1yix6mug]

define FMOD_INIT_REVERB_PREALLOCBUFFERS 0x00000040 /* All platforms – FMOD Software reverb will preallocate enough buffers for reverb per channel, rather than allocating them and freeing them at runtime. */

[/code:1yix6mug]

This will avoid allocs happening in the mixer, therefore avoiding the out of memory sound.

  • You must to post comments
0
0

System::createSound by default will decompress the entire file to PCM in memory. Depending on the file format, this might take a long time considering the CPU performance of mobile devices.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.