diff options
author | Len Ovens <len@ovenwerks.net> | 2016-06-08 23:08:56 -0700 |
---|---|---|
committer | Len Ovens <len@ovenwerks.net> | 2016-06-08 23:08:56 -0700 |
commit | 3e29a46603e0f8f7b06c531498dd3c34b896e5b3 (patch) | |
tree | 786e9b4d3d1a57327abeb8ee79688dc0f89233e7 /libs/surfaces/osc/osc_select_observer.h | |
parent | 3f0cbfc152fa6de8bd14df6701565f4f9dfc4c34 (diff) |
OSC: select commands for pan and trim added, feedback for select sends. GUI_select feedback done.
Diffstat (limited to 'libs/surfaces/osc/osc_select_observer.h')
-rw-r--r-- | libs/surfaces/osc/osc_select_observer.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/libs/surfaces/osc/osc_select_observer.h b/libs/surfaces/osc/osc_select_observer.h index 66b4f04d6f..3d64957577 100644 --- a/libs/surfaces/osc/osc_select_observer.h +++ b/libs/surfaces/osc/osc_select_observer.h @@ -45,6 +45,8 @@ class OSCSelectObserver boost::shared_ptr<ARDOUR::Stripable> _strip; PBD::ScopedConnectionList strip_connections; + // sends need their own + PBD::ScopedConnectionList send_connections; lo_address addr; std::string path; @@ -52,6 +54,7 @@ class OSCSelectObserver uint32_t gainmode; std::bitset<32> feedback; float _last_meter; + uint32_t nsends; void name_changed (const PBD::PropertyChange& what_changed); @@ -59,7 +62,14 @@ class OSCSelectObserver void send_monitor_status (boost::shared_ptr<PBD::Controllable> controllable); void send_gain_message (std::string path, boost::shared_ptr<PBD::Controllable> controllable); void send_trim_message (std::string path, boost::shared_ptr<PBD::Controllable> controllable); - std::string set_path (std::string path); + // sends stuff + void send_init (void); + void send_end (void); + void send_restart (int); + void send_gain (std::string path, uint32_t id, boost::shared_ptr<PBD::Controllable> controllable); + void send_enable (std::string path, uint32_t id, boost::shared_ptr<PBD::Controllable> controllable); + void send_rename (std::string path, uint32_t id, std::string name); + std::string set_path (std::string path, uint32_t id); void clear_strip (std::string path, float val); }; |