Update comment.
svn-id: r29998
This commit is contained in:
parent
35e72866ec
commit
956b69b655
1 changed files with 5 additions and 3 deletions
|
@ -89,7 +89,10 @@ int KyraEngine::init() {
|
||||||
_mixer->setVolumeForSoundType(Audio::Mixer::kMusicSoundType, ConfMan.getInt("music_volume"));
|
_mixer->setVolumeForSoundType(Audio::Mixer::kMusicSoundType, ConfMan.getInt("music_volume"));
|
||||||
_mixer->setVolumeForSoundType(Audio::Mixer::kSpeechSoundType, ConfMan.getInt("speech_volume"));
|
_mixer->setVolumeForSoundType(Audio::Mixer::kSpeechSoundType, ConfMan.getInt("speech_volume"));
|
||||||
|
|
||||||
// for now we prefer Adlib over native MIDI
|
// We prefer AdLib over native MIDI, since our AdLib playback code is much
|
||||||
|
// more mature than our MIDI player. For example we are missing MT-32 support
|
||||||
|
// and it seems our MIDI playback code has threading issues (see bug #1506583
|
||||||
|
// "KYRA1: Crash on exceeded polyphony" for more information).
|
||||||
int midiDriver = MidiDriver::detectMusicDriver(MDT_MIDI | MDT_ADLIB/* | MDT_PREFER_MIDI*/);
|
int midiDriver = MidiDriver::detectMusicDriver(MDT_MIDI | MDT_ADLIB/* | MDT_PREFER_MIDI*/);
|
||||||
|
|
||||||
if (_flags.platform == Common::kPlatformFMTowns || _flags.platform == Common::kPlatformPC98) {
|
if (_flags.platform == Common::kPlatformFMTowns || _flags.platform == Common::kPlatformPC98) {
|
||||||
|
@ -119,8 +122,7 @@ int KyraEngine::init() {
|
||||||
// Unlike some SCUMM games, it's not that the MIDI sounds are
|
// Unlike some SCUMM games, it's not that the MIDI sounds are
|
||||||
// missing. It's just that at least at the time of writing they
|
// missing. It's just that at least at the time of writing they
|
||||||
// are decidedly inferior to the Adlib ones.
|
// are decidedly inferior to the Adlib ones.
|
||||||
|
if (ConfMan.getBool("multi_midi")) {
|
||||||
if (midiDriver != MD_ADLIB && ConfMan.getBool("multi_midi")) {
|
|
||||||
SoundAdlibPC *adlib = new SoundAdlibPC(this, _mixer);
|
SoundAdlibPC *adlib = new SoundAdlibPC(this, _mixer);
|
||||||
assert(adlib);
|
assert(adlib);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue