diff options
author | Len Ovens <len@ovenwerks.net> | 2018-04-11 09:24:21 -0700 |
---|---|---|
committer | Len Ovens <len@ovenwerks.net> | 2018-06-19 09:46:28 -0700 |
commit | fee23d877898e9a7f3a268841dc27f12747b706a (patch) | |
tree | b8e4fbd4e62b5243be0540863478c61496a3c390 /libs/surfaces/osc/osc.h | |
parent | 293326cd94197158e35b08a039bdc7003ab5a807 (diff) |
OSC: Allow expand to be global
Diffstat (limited to 'libs/surfaces/osc/osc.h')
-rw-r--r-- | libs/surfaces/osc/osc.h | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/libs/surfaces/osc/osc.h b/libs/surfaces/osc/osc.h index f7284063f5..1c7e1a732b 100644 --- a/libs/surfaces/osc/osc.h +++ b/libs/surfaces/osc/osc.h @@ -150,7 +150,8 @@ class OSC : public ARDOUR::ControlProtocol, public AbstractUI<OSCUIRequest> OSCSelectObserver* sel_obs; // So we can sync select feedback with selected channel uint32_t expand; // Used by /select/select bool expand_enable; // use expand instead of select - boost::shared_ptr<ARDOUR::Stripable> select; // stripable this surface uses (maybe expand strip) + boost::shared_ptr<ARDOUR::Stripable> expand_strip; // stripable this surface uses for expand + boost::shared_ptr<ARDOUR::Stripable> select; // stripable this surface uses as selected int plug_page; // current plugin page uint32_t plug_page_size; // plugin page size (number of controls) int plugin_id; // id of current plugin @@ -185,9 +186,22 @@ class OSC : public ARDOUR::ControlProtocol, public AbstractUI<OSCUIRequest> * [12] - Send Playhead position like primary/secondary GUI clocks * [13] - Send well known feedback (for /select/command * [14] - use OSC 1.0 only (#reply -> /reply) + * + * Strip_type bits: + * [0] - Audio Tracks + * [1] - Midi Tracks + * [2] - Audio Bus + * [3] - Midi Bus + * [4] - VCAs + * [5] - master + * [6] - Monitor + * [7] - Aux Bus + * [8] - Selected + * [9] - Hidden + * [10] - Use Groups + * [11] - Global Expand */ - // storage for each surface's settings mutable Glib::Threads::Mutex surfaces_lock; typedef std::vector<OSCSurface> Surface; |