13
0

MIDI scene changes should use bank 0 if no bank msg has been seen

This commit is contained in:
Paul Davis 2024-06-21 12:49:19 -06:00
parent 10cd3c85cd
commit f54fd286ee

View File

@ -335,7 +335,7 @@ MIDISceneChanger::program_change_input (MIDI::Parser& parser, MIDI::byte program
new_mark = true;
}
int bank = -1;
int bank = 0;
if (have_seen_bank_changes) {
bank = std::dynamic_pointer_cast<AsyncMIDIPort>(input_port)->channel (channel)->bank();
}