aboutsummaryrefslogtreecommitdiff
path: root/sky/intro.cpp
diff options
context:
space:
mode:
authorMax Horn2003-09-05 22:09:56 +0000
committerMax Horn2003-09-05 22:09:56 +0000
commit3aa8454efaf6674ceade07182ae8c4b2d7f12143 (patch)
tree6fe7d250458de6e52caf6b3cfdad770d92574f24 /sky/intro.cpp
parent0045dfe9c61ccff708d4b93eaa699ea09cdec1aa (diff)
downloadscummvm-rg350-3aa8454efaf6674ceade07182ae8c4b2d7f12143.tar.gz
scummvm-rg350-3aa8454efaf6674ceade07182ae8c4b2d7f12143.tar.bz2
scummvm-rg350-3aa8454efaf6674ceade07182ae8c4b2d7f12143.zip
moved the sound ID param in playRaw before volume/pan
svn-id: r10023
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 5c4ab9968f..4ed7bf7fa3 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, 255, 0, SOUND_VOICE);
+ SoundMixer::FLAG_AUTOFREE | SoundMixer::FLAG_UNSIGNED, 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, 255, 0, SOUND_BG);
+ SoundMixer::FLAG_UNSIGNED | SoundMixer::FLAG_LOOP, SOUND_BG);
return true;
case PLAYBG:
_mixer->stopID(SOUND_BG);
_mixer->playRaw(&_bgSfx, _bgBuf + 256, _bgSize - 768, 11025,
- SoundMixer::FLAG_UNSIGNED, 255, 0, SOUND_BG);
+ SoundMixer::FLAG_UNSIGNED, SOUND_BG);
return true;
case STOPBG:
_mixer->stopID(SOUND_BG);