mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-10 11:51:52 +00:00
SCUMM: Use correct sound type for digital sfx.
This makes sure that digital sfx in pre digital iMuse games are using the SFX sound type rather than the speech sound type. This allows proper volume control.
This commit is contained in:
parent
be9c3bf72b
commit
e57e16e295
@ -658,7 +658,11 @@ void Sound::startTalkSound(uint32 offset, uint32 b, int mode, Audio::SoundHandle
|
||||
_vm->_imuseDigital->startVoice(kTalkSoundID, input);
|
||||
#endif
|
||||
} else {
|
||||
_mixer->playStream(Audio::Mixer::kSpeechSoundType, handle, input, id);
|
||||
if (mode == 1) {
|
||||
_mixer->playStream(Audio::Mixer::kSFXSoundType, handle, input, id);
|
||||
} else {
|
||||
_mixer->playStream(Audio::Mixer::kSpeechSoundType, handle, input, id);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user