summaryrefslogtreecommitdiff
path: root/libs/ardour/midi_scene_change.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-12-04 21:31:30 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2015-06-29 14:18:13 -0400
commit854ff8d8861c16f35bcde96f1cfd7cb3ffedd7f8 (patch)
treefdd51c7a453f83f31914cc62efdd8f42d4c5136d /libs/ardour/midi_scene_change.cc
parent960cff790bb246c9b6e1d48751ee9854b1d61736 (diff)
implement missing methods for MIDISceneChange
Diffstat (limited to 'libs/ardour/midi_scene_change.cc')
-rw-r--r--libs/ardour/midi_scene_change.cc20
1 files changed, 20 insertions, 0 deletions
diff --git a/libs/ardour/midi_scene_change.cc b/libs/ardour/midi_scene_change.cc
index 5e9394d2db..c10ca74904 100644
--- a/libs/ardour/midi_scene_change.cc
+++ b/libs/ardour/midi_scene_change.cc
@@ -156,3 +156,23 @@ MIDISceneChange::operator==(const MIDISceneChange& other) const
_bank == other._bank &&
_channel == other._channel;
}
+
+void
+MIDISceneChange::set_channel (int channel)
+{
+ _channel = channel;
+}
+
+void
+MIDISceneChange::set_program (int program)
+{
+ _program = program;
+}
+
+void
+MIDISceneChange::set_bank (int bank)
+{
+ _bank = bank;
+}
+
+