hedgewars/uSound.pas
changeset 6072 e3dc802965d6
parent 5922 7e7774e7be8c
child 6224 42b256eca362
child 6360 eca20f8990e2
--- a/hedgewars/uSound.pas	Fri Sep 30 13:17:34 2011 +0400
+++ b/hedgewars/uSound.pas	Fri Sep 30 12:55:04 2011 +0200
@@ -157,11 +157,9 @@
     if isSoundEnabled then
         isSoundEnabled:= Mix_OpenAudio(44100, $8010, channels, 1024) = 0;
 
-{$IFDEF SDL_MIXER_NEWER}
     WriteToConsole('Init SDL_mixer... ');
     SDLTry(Mix_Init(MIX_INIT_OGG) <> 0, true);
     WriteLnToConsole(msgOK);
-{$ENDIF}
 
     if isSoundEnabled then
         WriteLnToConsole(msgOK)
@@ -191,11 +189,9 @@
     if Mus <> nil then
         Mix_FreeMusic(Mus);
 
-{$IFDEF SDL_MIXER_NEWER}
     // make sure all instances of sdl_mixer are unloaded before continuing
     while Mix_Init(0) <> 0 do
         Mix_Quit();
-{$ENDIF}
 
     Mix_CloseAudio();
 end;