Process-lock is required when changing processors
This is somewhat unfortunate, since session.cc also takes the lock shortly afterward to call ->ensure_io() This should be consolidated before release.
This commit is contained in:
parent
2fa8c7cd42
commit
0a213e71b3
@ -106,6 +106,7 @@ Track::init ()
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
if (!is_auditioner()) {
|
if (!is_auditioner()) {
|
||||||
|
Glib::Threads::Mutex::Lock lm (AudioEngine::instance()->process_lock ());
|
||||||
boost::shared_ptr<TriggerBox> tb (new TriggerBox (_session, data_type ()));
|
boost::shared_ptr<TriggerBox> tb (new TriggerBox (_session, data_type ()));
|
||||||
tb->set_owner (this);
|
tb->set_owner (this);
|
||||||
add_processor (tb, _polarity);
|
add_processor (tb, _polarity);
|
||||||
|
Loading…
Reference in New Issue
Block a user