aboutsummaryrefslogtreecommitdiff
path: root/sky/intro.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 /sky/intro.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 'sky/intro.cpp')
-rw-r--r--sky/intro.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/sky/intro.cpp b/sky/intro.cpp
index 39b45716e2..5c4ab9968f 100644
--- a/sky/intro.cpp
+++ b/sky/intro.cpp
@@ -718,7 +718,7 @@ bool SkyIntro::nextPart(uint16 *&data) {
// directly, but this will have to do for now.
memset(vData, 127, sizeof(struct dataFileHeader));
_mixer->playRaw(&_voice, vData, _skyDisk->_lastLoadedFileSize, 11025,
- SoundMixer::FLAG_AUTOFREE | SoundMixer::FLAG_UNSIGNED, SOUND_VOICE, 127, 0);
+ SoundMixer::FLAG_AUTOFREE | SoundMixer::FLAG_UNSIGNED, 255, 0, SOUND_VOICE);
return true;
case WAITVOICE:
while (_voice)
@@ -735,12 +735,12 @@ bool SkyIntro::nextPart(uint16 *&data) {
case LOOPBG:
_mixer->stopID(SOUND_BG);
_mixer->playRaw(&_bgSfx, _bgBuf + 256, _bgSize - 768, 11025,
- SoundMixer::FLAG_UNSIGNED | SoundMixer::FLAG_LOOP, 127, 0, SOUND_BG);
+ SoundMixer::FLAG_UNSIGNED | SoundMixer::FLAG_LOOP, 255, 0, SOUND_BG);
return true;
case PLAYBG:
_mixer->stopID(SOUND_BG);
_mixer->playRaw(&_bgSfx, _bgBuf + 256, _bgSize - 768, 11025,
- SoundMixer::FLAG_UNSIGNED, SOUND_BG, 127, 0);
+ SoundMixer::FLAG_UNSIGNED, 255, 0, SOUND_BG);
return true;
case STOPBG:
_mixer->stopID(SOUND_BG);