The International Simutrans Forum

Development => Bug Reports => Topic started by: captain crunch on September 18, 2018, 11:56:34 AM

Title: [r8559] SDL2: no sound playing
Post by: captain crunch on September 18, 2018, 11:56:34 AM
Simutrans stopped playing any sounds around SVN revision 8559 with the SDL2 backend on my computer.
According to this question (https://discourse.libsdl.org/t/no-sound-using-sdl-audio/23839) on the SDL forum, it is related to mixing legacy SDL functions with newer ones.
The attached patch solved the problem for me.
Title: Re: [r8559] SDL2: no sound playing
Post by: prissi on September 19, 2018, 02:30:26 PM
Incorporated in r8594, thanks. I had sound before, so please test it for you.