hedgewars/SDLh.pas
changeset 12617 2ffdee246adc
parent 12596 7bae1fab444b
child 12798 575c0de98505
--- a/hedgewars/SDLh.pas	Sat Sep 30 04:31:50 2017 +0200
+++ b/hedgewars/SDLh.pas	Sat Sep 30 14:00:02 2017 +0200
@@ -100,7 +100,8 @@
     AUDIO_S16SYS         = {$IFDEF ENDIAN_LITTLE}AUDIO_S16LSB{$ELSE}AUDIO_S16MSB{$ENDIF};
 
     // default audio format from SDL_mixer.h
-    MIX_DEFAULT_FORMAT   = AUDIO_S16SYS;
+    //MIX_DEFAULT_FORMAT   = AUDIO_S16SYS;
+    MIX_DEFAULT_FORMAT   = {$IFDEF ENDIAN_LITTLE}AUDIO_S16LSB{$ELSE}AUDIO_S16MSB{$ENDIF};
 
     SDL_BUTTON_LEFT      = 1;
     SDL_BUTTON_MIDDLE    = 2;