singalen / wesnoth

iOS development fork of Wesnoth
http://www.wesnoth.org/
GNU General Public License v2.0
3 stars 0 forks source link

No sound in new installations #92

Open singalen opened 6 years ago

singalen commented 6 years ago

Recently got 2 reports that there's no sound, and it won't enable in preferences. Investigate.

jstookey commented 3 years ago

You might take a look at this:

https://discourse.libsdl.org/t/sdl-audio-no-output-when-iphone-ringer-set-to-silent/25965

I'm using SDL_mixer for my own game and had received reports of audio not working on some iPhones, including an old phone of mine. Out of curiosity I installed Wesnoth, knowing it probably uses SDL_mixer as well. Wesnoth had the same audio issue as my game. It turns out the problem is that the audio in SDL_mixer defaults to associating with the ringer, instead of system volume, and the ringer switch on the problematic phones was turned to 'off'. The above link details how to switch to using the system volume so this won't be an issue.