control protocols: fix design of trigger unbang method

This commit is contained in:
Paul Davis 2022-08-27 08:32:03 -06:00
parent 3cffca9178
commit 19db8f9c68
2 changed files with 29 additions and 6 deletions

View file

@ -165,7 +165,8 @@ class LIBCONTROLCP_API BasicUI {
bool loop_button_onoff() const;
void bang (int x, int y);
void unbang (int x, int y);
/* stop whatever is playing in the nth triggerbox */
void unbang (int x);
/* it would be nice to use TriggerPtr here but that implies including ardour/triggerbox.h */
boost::shared_ptr<ARDOUR::Trigger> find_trigger (int x, int y);