Browse Source

Update sound.cpp

line 104 / Mix_OpenAudio / third parameter had to be reverted
pull/18/head
Chance4us 7 years ago committed by GitHub
parent
commit
62591c7be8
  1. 2
      Stub/sound.cpp

2
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);

Loading…
Cancel
Save