diff options
author | David Robillard <d@drobilla.net> | 2014-12-17 19:43:09 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-12-17 19:43:09 -0500 |
commit | d2cafbe95a5784b7c306c24b0008379a41a909f7 (patch) | |
tree | 03216b0bd933f4d774634a7f8e14965fcf79c990 /gtk2_ardour/midi_region_view.h | |
parent | 6e912a0aa31313636e2957ec0aa97d4103ee117f (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.h | 12 |
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. */ |