aboutsummaryrefslogtreecommitdiff
path: root/simon/sound.cpp
diff options
context:
space:
mode:
authorPaweł Kołodziejski2003-09-02 07:49:40 +0000
committerPaweł Kołodziejski2003-09-02 07:49:40 +0000
commit5a6bce590b4261d2ff5615cbdccf2da66e5586e2 (patch)
treeb1a8734944281b12cc21d1a4eb4c5590bf7c517c /simon/sound.cpp
parentf59a0633d6c58b1e37aaaa27af5ad6e4115e436a (diff)
downloadscummvm-rg350-5a6bce590b4261d2ff5615cbdccf2da66e5586e2.tar.gz
scummvm-rg350-5a6bce590b4261d2ff5615cbdccf2da66e5586e2.tar.bz2
scummvm-rg350-5a6bce590b4261d2ff5615cbdccf2da66e5586e2.zip
changed sounds volume to original volume level, and fixed sounds in bass intro
svn-id: r9963
Diffstat (limited to 'simon/sound.cpp')
-rw-r--r--simon/sound.cpp6
1 files changed, 3 insertions, 3 deletions
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