Increase MIDI performance by omitting redundancies
|Reported by:||SF/logicdeluxe||Owned by:||SF/jamieson630|
In all LEC-Adventures supporting MIDI (original or converted from MT-32 doesn't matter) send the drum bank change command with every single note, which cause some tone generators like the Terratec Wavetable Professional (which is a SC55 clone, and it can not be that bad as it worked fine for all my MIDI games so far) to terrible lagging notes, since it doesn't like it at all. If ScummVM could filter the bank change command on channel 10, the performance for MPU401 devices could increase the prformance a lot. This command is useless anyway, since General MIDI has not defined bank changes at all, and it IS General MIDI after all. Also the bank switch never ever selects another bank then 0 as far as I could find out. However the standard bank should be selected then when native MIDI is initialized to ensure the correct drum set is selected throughout the game on GS or XG devices.
Ticket imported from: #806641. Ticket imported from: feature-requests/133.