}
_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));
}
_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;
}
_meter->reset_max_channels (processor_max_streams);
}
- /* if we haven't bound the main outs panner & our pannable together yet, do it now ..
- */
-
- if (_main_outs && !_pannable->panner()) {
- _pannable->set_panner (_main_outs->panner_shell()->panner());
- }
-
/* make sure we have sufficient scratch buffers to cope with the new processor
configuration */
_session.ensure_buffers (n_process_buffers ());