AGI: Fix bug #3017908 with MIDI music

Bug #3017908: "AGI: No music with the new MIDI patch"
Thanks to Raziel^ for pinpointing the bug.

svn-id: r53166
This commit is contained in:
Eugene Sandulenko 2010-10-12 19:44:40 +00:00
parent f2d8d71a78
commit 77e70a7187

View File

@ -82,7 +82,7 @@ SoundGenMIDI::SoundGenMIDI(AgiEngine *vm, Audio::Mixer *pMixer) : SoundGen(vm, p
}
memset(_channel, 0, sizeof(_channel));
memset(_channelVolume, 255, sizeof(_channelVolume));
memset(_channelVolume, 127, sizeof(_channelVolume));
_masterVolume = 0;
this->open();
_smfParser = MidiParser::createParser_SMF();