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 c74735ba07
commit 3e5dfe0466

View File

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