diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-01-28 00:49:45 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-01-28 00:49:45 +0000 |
commit | 4d1d35572056979b6750660f918dc15296b49a76 (patch) | |
tree | 00eda2e2ab09e92d08beb0139ef4155183b8ade9 /libs/ardour/delivery.cc | |
parent | 92add245d0f6c851fb44f657aa117e564adb32e2 (diff) |
move point at which main outs Panner <-> Route Pannable binding occurs, so that it does, in fact, occur
git-svn-id: svn://localhost/ardour2/branches/3.0@8596 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/delivery.cc')
-rw-r--r-- | libs/ardour/delivery.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libs/ardour/delivery.cc b/libs/ardour/delivery.cc index fd32214446..ee695afe64 100644 --- a/libs/ardour/delivery.cc +++ b/libs/ardour/delivery.cc @@ -381,7 +381,10 @@ Delivery::reset_panner () } _panshell->configure_io (ChanCount (DataType::AUDIO, pans_required()), ChanCount (DataType::AUDIO, ntargets)); + } + + } else { panner_legal_c.disconnect (); PannersLegal.connect_same_thread (panner_legal_c, boost::bind (&Delivery::panners_became_legal, this)); @@ -400,6 +403,11 @@ Delivery::panners_became_legal () } _panshell->configure_io (ChanCount (DataType::AUDIO, pans_required()), ChanCount (DataType::AUDIO, ntargets)); + + if (_role == Main) { + _panshell->pannable()->set_panner (_panshell->panner()); + } + panner_legal_c.disconnect (); return 0; } |