mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
MIDI scene changes should use bank 0 if no bank msg has been seen
This commit is contained in:
parent
10cd3c85cd
commit
f54fd286ee
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue