GIT
/
REPO
/
FRED-BOY
Projects
/
d2df-sdl.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3b2a7b
)
sdlmixer: use 44100, and let mixer decide
author
Ketmar Dark <ketmar@ketmar.no-ip.org>
Thu, 7 Apr 2016 16:34:47 +0000
(19:34 +0300)
committer
Ketmar Dark <ketmar@ketmar.no-ip.org>
Thu, 7 Apr 2016 16:34:47 +0000
(19:34 +0300)
src/engine/e_sound_sdl.inc
patch
|
blob
|
history
diff --git
a/src/engine/e_sound_sdl.inc
b/src/engine/e_sound_sdl.inc
index 0aca0651876ed529463d0f802cd85042f8faad7a..60ffcbd4d92dbd1cd0522bcf5e59428acf3da3bf 100644
(file)
--- 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);
DEADSOFTWARE 2012-2025