13
0

fix mistake introduced during rebase fixup

This commit is contained in:
Paul Davis 2022-02-08 21:07:07 -07:00
parent 11042914e1
commit 93e1b77fe2

View File

@ -2300,12 +2300,12 @@ MIDITrigger::midi_run (BufferSet& bufs, samplepos_t start_sample, samplepos_t en
ev.scale_velocity (_gain); ev.scale_velocity (_gain);
} }
if (ev.is_pgm_change() || (ev.is_cc() && ((ev.cc_number() == MIDI_CTL_LSB_BANK) || (ev.cc_number() == MIDI_CTL_MSB_BANK)))) {
if (ev.is_pgm_change() || (ev.is_cc() && ((ev.cc_number() == MIDI_CTL_LSB_BANK) || (ev.cc_number() == MIDI_CTL_MSB_BANK)))) { if (_patch_change[ev.channel()].is_set() || _box.ignore_patch_changes ()) {
if (_patch_change[ev.channel()].is_set() || _box.ignore_patch_changes ()) { /* skip pgm change info in data because trigger has its own */
/* skip pgm change info in data because trigger has its own */ ++iter;
++iter; continue;
continue; }
} }
if (_channel_map[ev.channel()] > 0) { if (_channel_map[ev.channel()] > 0) {