diff options
author | Max Horn | 2004-12-27 00:27:00 +0000 |
---|---|---|
committer | Max Horn | 2004-12-27 00:27:00 +0000 |
commit | 67b311713d8f4cfcd460a9649e0075f24278a048 (patch) | |
tree | b3cc2c445a34084ab1baa645c1ae818c44268eff /sword2/driver | |
parent | 6670b2969a3669ae7bda7103407e8e5e22c2916a (diff) | |
download | scummvm-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.cpp | 2 |
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; } |