From d9773e5788a4e8ce2c63a5e8b548e9b1abe9a63a Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Tue, 15 Mar 2022 08:53:18 -0500 Subject: [PATCH] triggerbox: add PropertyChange::all_trigger_props() --- libs/ardour/ardour/triggerbox.h | 2 ++ libs/ardour/triggerbox.cc | 29 +++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/libs/ardour/ardour/triggerbox.h b/libs/ardour/ardour/triggerbox.h index e8f79abdd5..0ef852a9ff 100644 --- a/libs/ardour/ardour/triggerbox.h +++ b/libs/ardour/ardour/triggerbox.h @@ -797,6 +797,8 @@ class LIBARDOUR_API TriggerBox : public Processor static void start_transport_stop (Session&); + static PBD::PropertyChange all_trigger_props(); + private: struct Requests { std::atomic stop_all; diff --git a/libs/ardour/triggerbox.cc b/libs/ardour/triggerbox.cc index 4e2169d85f..ac5fd87ff8 100644 --- a/libs/ardour/triggerbox.cc +++ b/libs/ardour/triggerbox.cc @@ -74,6 +74,35 @@ namespace ARDOUR { } } +PropertyChange +TriggerBox::all_trigger_props() +{ + PropertyChange all; + all.add(Properties::name); + all.add(Properties::color); + all.add(Properties::legato); + all.add(Properties::use_follow_length); + all.add(Properties::quantization); + all.add(Properties::follow_length); + all.add(Properties::launch_style); + all.add(Properties::follow_action0); + all.add(Properties::follow_action1); + all.add(Properties::follow_action_probability); + all.add(Properties::velocity_effect); + all.add(Properties::gain); + all.add(Properties::stretchable); + all.add(Properties::cue_isolated); + all.add(Properties::allow_patch_changes); + all.add(Properties::stretch_mode); + all.add(Properties::tempo_meter); + all.add(Properties::stretchable); + all.add(Properties::patch_change); + all.add(Properties::channel_map); + all.add(Properties::used_channels); + + return all; +} + std::string ARDOUR::cue_marker_name (int32_t index) {