aboutsummaryrefslogtreecommitdiff
path: root/sword2/driver
diff options
context:
space:
mode:
authorMax Horn2004-12-27 00:27:00 +0000
committerMax Horn2004-12-27 00:27:00 +0000
commit67b311713d8f4cfcd460a9649e0075f24278a048 (patch)
treeb3cc2c445a34084ab1baa645c1ae818c44268eff /sword2/driver
parent6670b2969a3669ae7bda7103407e8e5e22c2916a (diff)
downloadscummvm-rg350-67b311713d8f4cfcd460a9649e0075f24278a048.tar.gz
scummvm-rg350-67b311713d8f4cfcd460a9649e0075f24278a048.tar.bz2
scummvm-rg350-67b311713d8f4cfcd460a9649e0075f24278a048.zip
Added 'sound types' to the mixer - for now, only plain (for the premixer), SFX and music; volume is now controlled based on the sound type
svn-id: r16330
Diffstat (limited to 'sword2/driver')
-rw-r--r--sword2/driver/d_sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/driver/d_sound.cpp b/sword2/driver/d_sound.cpp
index 546071ba51..7538b2158d 100644
--- a/sword2/driver/d_sound.cpp
+++ b/sword2/driver/d_sound.cpp
@@ -937,7 +937,7 @@ int32 Sound::playCompSpeech(uint32 speechid, uint8 vol, int8 pan) {
int8 p = _panTable[pan + 16];
// Start the speech playing
- _vm->_mixer->playInputStream(&_soundHandleSpeech, input, false, -1, volume, p);
+ _vm->_mixer->playInputStream(SoundMixer::kSFXAudioDataType, &_soundHandleSpeech, input, -1, volume, p);
return RD_OK;
}