OSX 10.5 Sound Issue

BlitzMax Forums/BlitzMax Programming/OSX 10.5 Sound Issue

Hi, I've had this reported by a few different customers now.

Basically my framework uses FreeAudio for Mac and sometimes customers have reported that the game stops playing sounds after a while (I don't know if they mean mid-game or on loading the game up on a separate occasion). They exit and restart the game and it still doesn't play - that's because I have a line which says:

 If SetAudioDriver(driver$) Then
   'blah


And if the driver sets correctly, driver% is stored in the ini, if it fails "none" is stored in the ini. When they are restarting the game, the above code fails and "none" is getting stored in the ini.

The resolution appears to reboot then edit the ini to put back "FreeAudio" as the sound driver.

So has anyone else experienced sound stopping on the Mac and also SetAudioDriver FAILING to return 1?

Thx in advance.