summaryrefslogtreecommitdiff
path: root/gtk2_ardour/midi_region_view.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-12-17 19:43:09 -0500
committerDavid Robillard <d@drobilla.net>2014-12-17 19:43:09 -0500
commitd2cafbe95a5784b7c306c24b0008379a41a909f7 (patch)
tree03216b0bd933f4d774634a7f8e14965fcf79c990 /gtk2_ardour/midi_region_view.h
parent6e912a0aa31313636e2957ec0aa97d4103ee117f (diff)
Remove some aborts that don't really need to be.
Enforce PatchPrimaryKey sanity at the type level rather than attempting to check for it everywhere. Remove dead file.
Diffstat (limited to 'gtk2_ardour/midi_region_view.h')
-rw-r--r--gtk2_ardour/midi_region_view.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/gtk2_ardour/midi_region_view.h b/gtk2_ardour/midi_region_view.h
index a2d364c0d6..a07a46825f 100644
--- a/gtk2_ardour/midi_region_view.h
+++ b/gtk2_ardour/midi_region_view.h
@@ -153,16 +153,8 @@ public:
void delete_sysex (SysEx*);
- /** Alter a given patch to be its predecessor in the MIDNAM file.
- */
- void previous_patch (PatchChange &);
-
- /** Alters a given patch to be its successor in the MIDNAM file.
- */
- void next_patch (PatchChange &);
-
- void previous_bank (PatchChange &);
- void next_bank (PatchChange &);
+ /** Change a patch to the next or previous bank/program. */
+ void step_patch (PatchChange& patch, int dbank, int dprog);
/** Displays all patch change events in the region as flags on the canvas.
*/