diff options
author | Robin Gareus <robin@gareus.org> | 2019-02-17 02:22:03 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-02-17 02:22:03 +0100 |
commit | 6d7bc4ea3009dc020f1b4c23ca8fa0d11d602122 (patch) | |
tree | 2be6e3d9fb387891b6f9e5769f239dad39ebbfaa /libs/ardour/plugin_insert.cc | |
parent | 2ec28f3ce71faf596161f2210fc334f7521d1e93 (diff) |
Emit signal when plugin latency changes
Diffstat (limited to 'libs/ardour/plugin_insert.cc')
-rw-r--r-- | libs/ardour/plugin_insert.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/ardour/plugin_insert.cc b/libs/ardour/plugin_insert.cc index a4a5ad1972..3d7fe164db 100644 --- a/libs/ardour/plugin_insert.cc +++ b/libs/ardour/plugin_insert.cc @@ -3184,7 +3184,10 @@ PluginInsert::latency_changed () { // this is called in RT context, LatencyChanged is emitted after run() _latency_changed = true; - // XXX This also needs a proper API not an owner() hack. + LatencyChanged (); /* EMIT SIGNAL */ + // XXX This needs a proper API not an owner() hack: + // TODO Route should subscribe to LatencyChanged() and forward it + // to the session as processor_latency_changed. assert (owner ()); static_cast<Route*>(owner ())->processor_latency_changed (); /* EMIT SIGNAL */ } |