From 62591c7be8a4a95ea64aa5b892e81ec550c1f6c4 Mon Sep 17 00:00:00 2001 From: Chance4us <45902449+Chance4us@users.noreply.github.com> Date: Fri, 28 Dec 2018 22:11:27 +0100 Subject: [PATCH] Update sound.cpp line 104 / Mix_OpenAudio / third parameter had to be reverted --- Stub/sound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Stub/sound.cpp b/Stub/sound.cpp index 4bdcf407d..af0e2f3f8 100644 --- a/Stub/sound.cpp +++ b/Stub/sound.cpp @@ -101,7 +101,7 @@ void __fastcall music_start(int nTrack) // This is a hack.... I don't like it . // If you know this better than I , please help clean it up. - Mix_OpenAudio(44100, AUDIO_S16LSB, 2, 1024); + Mix_OpenAudio(44100, AUDIO_S16LSB, 1, 1024); file = sgpMusicTrack; bytestoread = (int)SFileGetFileSize((HANDLE)file, 0); buffer = DiabloAllocPtr(bytestoread);