summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2020-04-02 19:47:01 +0200
committerRobin Gareus <robin@gareus.org>2020-04-02 20:27:51 +0200
commitf0b25a776be955903dd0589720ce521990d89db5 (patch)
tree1f9b5c216cfab0aab142b776f0356ab93997fcb0 /libs/ardour/ardour
parent652f62f20a8469c6c82ff56ea599eb12d78f515f (diff)
Update fan-out signal
* Signals use camelcase. * use a static signal, independent of the route Previously the signal was handled by RouteUI, which caused various issues: * the RouteUI may not yet be available * There may be many RouteUIs for a single Route (mixer, editor-mixer, meter-bridge strips)
Diffstat (limited to 'libs/ardour/ardour')
-rw-r--r--libs/ardour/ardour/route.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/libs/ardour/ardour/route.h b/libs/ardour/ardour/route.h
index 959448881f..61a40fe201 100644
--- a/libs/ardour/ardour/route.h
+++ b/libs/ardour/ardour/route.h
@@ -384,11 +384,14 @@ public:
MultiOut = 0x2,
};
- static PBD::Signal3<int,boost::shared_ptr<Route>, boost::shared_ptr<PluginInsert>, PluginSetupOptions > PluginSetup;
+ /** ask GUI about port-count, fan-out when adding instrument */
+ static PBD::Signal3<int, boost::shared_ptr<Route>, boost::shared_ptr<PluginInsert>, PluginSetupOptions > PluginSetup;
+
+ /** used to signal the GUI to fan-out (track-creation) */
+ static PBD::Signal1<void, boost::weak_ptr<Route> > FanOut;
/** the processors have changed; the parameter indicates what changed */
PBD::Signal1<void,RouteProcessorChange> processors_changed;
- PBD::Signal0<void> fan_out; // used to signal the GUI to fan-out (track-creation)
PBD::Signal1<void,void*> record_enable_changed;
/** a processor's latency has changed
* (emitted from PluginInsert::latency_changed)