From d8c921d097905787b79a3d29d6dc1b777ed60d67 Mon Sep 17 00:00:00 2001 From: Ketmar Dark Date: Thu, 7 Apr 2016 19:34:47 +0300 Subject: [PATCH] sdlmixer: use 44100, and let mixer decide --- src/engine/e_sound_sdl.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/engine/e_sound_sdl.inc b/src/engine/e_sound_sdl.inc index 0aca065..60ffcbd 100644 --- a/src/engine/e_sound_sdl.inc +++ b/src/engine/e_sound_sdl.inc @@ -175,8 +175,7 @@ begin if (res and MIX_INIT_OGG) <> 0 then e_WriteLog('SDL: OGG playback is active', MSG_NOTIFY); if (res and MIX_INIT_FLUIDSYNTH) <> 0 then e_WriteLog('SDL: FLUIDSYNTH playback is active', MSG_NOTIFY); - res := Mix_OpenAudio(48000, AUDIO_S16LSB, 2, 2048); - if res = -1 then res := Mix_OpenAudio(44100, AUDIO_S16LSB, 2, 2048); + res := Mix_OpenAudio(44100, AUDIO_S16LSB, 2, 2048); if res = -1 then begin e_WriteLog('Error initializing SDL mixer:', MSG_FATALERROR); -- 2.29.2