MIDI scene changes should use bank 0 if no bank msg has been seen
This commit is contained in:
parent
c74735ba07
commit
3e5dfe0466
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user