Add 'speech' sound type to mixer; make use of that in iMuse Digital

svn-id: r16331
This commit is contained in:
Max Horn 2004-12-27 01:32:40 +00:00
parent 67b311713d
commit f15f517bb4
7 changed files with 39 additions and 57 deletions

View file

@ -1383,13 +1383,13 @@ void ScummEngine_v8::o8_kernelGetFunctions() {
}
break;
case 0xDD: // getGroupSfxVol
push(_imuseDigital->getGroupSfxVolume());
push(_mixer->getVolumeForSoundType(SoundMixer::kSFXAudioDataType) / 2);
break;
case 0xDE: // getGroupVoiceVol
push(_imuseDigital->getGroupVoiceVolume());
push(_mixer->getVolumeForSoundType(SoundMixer::kSpeechAudioDataType) / 2);
break;
case 0xDF: // getGroupMusicVol
push(_imuseDigital->getGroupMusicVolume());
push(_mixer->getVolumeForSoundType(SoundMixer::kMusicAudioDataType) / 2);
break;
case 0xE0: // readRegistryValue
{