summaryrefslogtreecommitdiff
path: root/libs/ardour/midi_scene_changer.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2015-05-08 16:04:15 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2015-06-29 14:18:11 -0400
commit11e371c5e7dc90a3814d0425f033db19d8522c59 (patch)
tree2b5a92c327809db4bf290f42717fafd7874ec3c2 /libs/ardour/midi_scene_changer.cc
parente7fa40762c69762a1fb7b77c7a3d83da6fd7ff72 (diff)
integrate Session::remove_routes() from Tracks and replace Session::remove_route() internal implementation.
The singular case replicated (and was the model for) the plural case.
Diffstat (limited to 'libs/ardour/midi_scene_changer.cc')
-rw-r--r--libs/ardour/midi_scene_changer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/midi_scene_changer.cc b/libs/ardour/midi_scene_changer.cc
index ab2226d934..bd32ff308b 100644
--- a/libs/ardour/midi_scene_changer.cc
+++ b/libs/ardour/midi_scene_changer.cc
@@ -281,7 +281,7 @@ MIDISceneChanger::program_change_input (MIDI::Parser& parser, MIDI::byte program
bank = input_port->channel (channel)->bank();
}
- jump_to (input_port->channel (channel)->bank(), program);
+ jump_to (bank, program);
return;
}