passthrought v7+ sound voices by imuse digital

svn-id: r11939
This commit is contained in:
Paweł Kołodziejski 2003-12-26 12:15:23 +00:00
parent 908fbe2ac5
commit a45e92efed
7 changed files with 249 additions and 203 deletions

View file

@ -163,9 +163,10 @@ void ScummEngine::CHARSET_1() {
if (_talkDelay)
return;
if ((_gameId == GID_CMI || _gameId == GID_DIG) && _sound->_talkChannelHandle.isActive()) {
if ((_gameId == GID_CMI || _gameId == GID_DIG) && (_imuseDigital)
&& _sound->isSoundRunning(10000)) {
// Keep the 'speech' flag in _sound->_sfxMode set as long as the
// _talkChannelHandle is valid.
// sound 10000 is playing.
_sound->_sfxMode |= 2;
}
@ -900,7 +901,7 @@ const byte *ScummEngine::translateTextAndPlaySpeech(const byte *ptr) {
pointer[j] = 0;
// Play speech
_imuseDigital->playBundleSound(pointer, &_sound->_talkChannelHandle);
_imuseDigital->playBundleSound(pointer);
ptr = _transText;
}