I teach a game programming class. All of the students are having a problem with FMod. It has been reported on these forums before but no clear resolution has been reached.
During game applications with several sounds per second, after a few minutes FMod stops playing sounds. Other sound applications such as Media Player still play. Only a reboot restores FMod’s ability to play.
The problem occurs with wav files but not mp3s.
The problem occurs when FMOD_CHANNEL_FREE is specified with wav files in playSound. It does not occur if FMOD_CHANNEL_REUSE is specified with a reused channel pointer.
The problem occurs even with extremely recent sound drivers.
Setting the max hardware voices to 32 using System::setHardwareChannels() seems to fix the problem, but this is not confirmed.
This is a severe problem and it would probably be wise for the FMod team to circumvent it by setting hardware channels to 32 by default.
- You must login to post comments