mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 23:05:04 +01:00
change the way ControlProtocols (control surfaces) are notified and handle Stripable selection changes
The Editor continues to notify them, but via a direct call to ControlProtocolManager, not a signal. The CP Manager calls the ControlProtocol static method to set up static data structures holding selection info for all surfaces and then notifies each surface/protocol that selection has changed.
This commit is contained in:
parent
efc2660fec
commit
eb3f50e15c
23 changed files with 64 additions and 83 deletions
|
|
@ -55,6 +55,8 @@ class GenericMidiControlProtocol : public ARDOUR::ControlProtocol {
|
|||
int set_active (bool yn);
|
||||
static bool probe() { return true; }
|
||||
|
||||
void stripable_selection_changed () {}
|
||||
|
||||
std::list<boost::shared_ptr<ARDOUR::Bundle> > bundles ();
|
||||
|
||||
boost::shared_ptr<ARDOUR::Port> input_port () const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue