0
0

If you are using FMOD_ADVANCEDSETTINGS make sure you zero the struct before using it or at least set eventqueuesize to a proper value. I had missed this in our code and ran into a scenario where I ran out of memory when trying to stream sound. When debugging FMOD’s code I noticed that they did a memalloc based on the value of eventqueuesize which in my case was a random address. What puzzles me though is that the crash that appear when FMOD run out of memory only only appear in win32 and only on later versions of FMOD.

  • You must to post comments
0
0

Thanks for the info, i’ve added some more error checking to setAdvancedSettings to try and catch wild values thanks to this. I’ve put bad float checks in for all floats and if eventqueuesize is bigger than 65535

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.