From 5a6bce590b4261d2ff5615cbdccf2da66e5586e2 Mon Sep 17 00:00:00 2001 From: Paweł Kołodziejski Date: Tue, 2 Sep 2003 07:49:40 +0000 Subject: changed sounds volume to original volume level, and fixed sounds in bass intro svn-id: r9963 --- simon/sound.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'simon/sound.cpp') diff --git a/simon/sound.cpp b/simon/sound.cpp index 81df8c1258..98a0cbd05e 100644 --- a/simon/sound.cpp +++ b/simon/sound.cpp @@ -174,7 +174,7 @@ int WavSound::playSound(uint sound, PlayingSoundHandle *handle, byte flags) { byte *buffer = (byte *)malloc(data[1]); _file->read(buffer, data[1]); - return _mixer->playRaw(handle, buffer, data[1], FROM_LE_32(wave_hdr.samples_per_sec), flags, 127, 0); + return _mixer->playRaw(handle, buffer, data[1], FROM_LE_32(wave_hdr.samples_per_sec), flags, 255, 0); } int VocSound::playSound(uint sound, PlayingSoundHandle *handle, byte flags) { @@ -212,7 +212,7 @@ int VocSound::playSound(uint sound, PlayingSoundHandle *handle, byte flags) { byte *buffer = (byte *)malloc(size); _file->read(buffer, size); - return _mixer->playRaw(handle, buffer, size, samples_per_sec, flags, 127, 0); + return _mixer->playRaw(handle, buffer, size, samples_per_sec, flags, 255, 0); } int RawSound::playSound(uint sound, PlayingSoundHandle *handle, byte flags) { @@ -226,7 +226,7 @@ int RawSound::playSound(uint sound, PlayingSoundHandle *handle, byte flags) { byte *buffer = (byte *)malloc(size); _file->read(buffer, size); - return _mixer->playRaw(handle, buffer, size, 22050, flags, 127, 0); + return _mixer->playRaw(handle, buffer, size, 22050, flags, 255, 0); } #ifdef USE_MAD -- cgit v1.2.3