hedgewars/uSound.pas
branchhedgeroid
changeset 6224 42b256eca362
parent 5932 5164d17b6374
parent 6072 e3dc802965d6
child 6415 af2047bb4f70
--- a/hedgewars/uSound.pas	Fri Oct 28 17:41:39 2011 +0200
+++ b/hedgewars/uSound.pas	Fri Oct 28 18:26:17 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;