UFO:Alien Invasion

Technical support => Bugs in stable version (2.5) => Topic started by: anonymissimus on August 14, 2014, 11:01:58 pm

Title: Enabling/disabling sound
Post by: anonymissimus on August 14, 2014, 11:01:58 pm
Re-enabling sound (checkbox "Enable Audio") after unchecking it doesn't work, there's no music. UI sounds work. This is while in the geoscape.
If re-enabling happens during a tactical mission, the game crashes.
Even in the first case, the program suspiciously freezes for a second or two.

console output:

...
------- sound initialization -------
SDL_mixer version: 1.2.11
... requested audio rate: 44100
... driver: 'pulse'
... audio rate: 44100
... audio channels: 2
... loaded ogg vorbis support
Error: Received signal 11.
Title: Re: Enabling/disabling sound
Post by: DarkRain on February 07, 2015, 02:41:22 am
I couldn't reproduce the battlescape crash, but music should be back OK ne re-enabling the sound now (commit c33256a at master), as a bonus I added an option to toggle background music on/off to the options...