diff options
Diffstat (limited to 'gtk2_ardour/midi_region_view.h')
-rw-r--r-- | gtk2_ardour/midi_region_view.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gtk2_ardour/midi_region_view.h b/gtk2_ardour/midi_region_view.h index a07a46825f..7280ba6e4e 100644 --- a/gtk2_ardour/midi_region_view.h +++ b/gtk2_ardour/midi_region_view.h @@ -153,8 +153,11 @@ public: void delete_sysex (SysEx*); - /** Change a patch to the next or previous bank/program. */ - void step_patch (PatchChange& patch, int dbank, int dprog); + /** Change a patch to the next or previous bank/program. + * @param bank If true, step bank, otherwise, step program. + * @param delta Amount to adjust number. + */ + void step_patch (PatchChange& patch, bool bank, int delta); /** Displays all patch change events in the region as flags on the canvas. */ |