triggerbox: clear_all_triggers (libardour part)
This commit is contained in:
@@ -507,6 +507,7 @@ class LIBARDOUR_API TriggerBox : public Processor
|
||||
|
||||
TriggerPtr currently_playing() const { return _currently_playing; }
|
||||
|
||||
void clear_all_triggers ();
|
||||
void set_all_follow_action (ARDOUR::Trigger::FollowAction, uint32_t n=0);
|
||||
void set_all_launch_style (ARDOUR::Trigger::LaunchStyle);
|
||||
void set_all_quantization (Temporal::BBT_Offset const&);
|
||||
|
||||
@@ -1970,6 +1970,14 @@ TriggerBox::stop_all_immediately ()
|
||||
_requests.stop_all = true;
|
||||
}
|
||||
|
||||
void
|
||||
TriggerBox::clear_all_triggers ()
|
||||
{
|
||||
for (uint64_t n = 0; n < all_triggers.size(); ++n) {
|
||||
all_triggers[n]->set_region (boost::shared_ptr<Region>());
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
TriggerBox::set_all_launch_style (ARDOUR::Trigger::LaunchStyle ls)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user