--- a/hedgewars/uSound.pas Tue Jan 12 00:36:17 2016 +0100
+++ b/hedgewars/uSound.pas Tue Jan 12 20:40:12 2016 +0100
@@ -310,7 +310,7 @@
success:= SDL_InitSubSystem(SDL_INIT_AUDIO) >= 0;
if success then
- success:= Mix_OpenAudio(44100, $8010, channels, 1024) = 0;
+ success:= Mix_OpenAudio(44100, AUDIO_S16LSB, channels, 1024) = 0;
if success then
WriteLnToConsole(msgOK)
@@ -326,6 +326,7 @@
WriteLnToConsole(msgOK);
Mix_AllocateChannels(Succ(chanTPU));
+ previousVolume:= cInitVolume;
ChangeVolume(cInitVolume);
end;