mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 12:45:45 +01:00
emit MIDI scene change i/o activity signals in the right places
This commit is contained in:
parent
b0eed6c537
commit
d6afce9c0f
1 changed files with 4 additions and 5 deletions
|
|
@ -253,11 +253,9 @@ MIDISceneChanger::recording() const
|
|||
void
|
||||
MIDISceneChanger::bank_change_input (MIDI::Parser& parser, unsigned short, int)
|
||||
{
|
||||
if (!recording()) {
|
||||
return;
|
||||
}
|
||||
|
||||
last_bank_message_time = parser.get_timestamp ();
|
||||
if (recording()) {
|
||||
last_bank_message_time = parser.get_timestamp ();
|
||||
}
|
||||
MIDIInputActivity (); /* EMIT SIGNAL */
|
||||
}
|
||||
|
||||
|
|
@ -269,6 +267,7 @@ MIDISceneChanger::program_change_input (MIDI::Parser& parser, MIDI::byte program
|
|||
last_program_message_time = time;
|
||||
|
||||
if (!recording()) {
|
||||
MIDIInputActivity (); /* EMIT SIGNAL */
|
||||
jump_to (input_port->channel (channel)->bank(), program);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue