diff options
author | Robin Gareus <robin@gareus.org> | 2016-07-09 17:42:58 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-07-09 17:42:58 +0200 |
commit | 0d050de94e3ae5a1a0dc36114df1995b042f3b80 (patch) | |
tree | 8775d6393355b551b699819e5ca175d48be051d8 /libs/ardour/plugin_insert.cc | |
parent | b64a6b658eae14b1dd1eba6113fa88f940fafc42 (diff) |
move latency-recompute into dedicated thread.
this fixes an issue with jack1 and jack_latency_recompute() since must not
send a server request from inside the server callback.
Diffstat (limited to 'libs/ardour/plugin_insert.cc')
-rw-r--r-- | libs/ardour/plugin_insert.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/ardour/plugin_insert.cc b/libs/ardour/plugin_insert.cc index 4bbeed5cf1..0beb4c2fdb 100644 --- a/libs/ardour/plugin_insert.cc +++ b/libs/ardour/plugin_insert.cc @@ -2959,10 +2959,8 @@ PluginInsert::latency_changed () { // this is called in RT context, LatencyChanged is emitted after run() _latency_changed = true; -#if 1 // TODO check possible deadlock in RT-context (esp. with jack) latency-callback. // XXX This also needs a proper API not an owner() hack. - static_cast<Route*>(owner ())->processors_changed (RouteProcessorChange ()); /* EMIT SIGNAL */ -#endif + static_cast<Route*>(owner ())->processor_latency_changed (); /* EMIT SIGNAL */ } void |