void
Delivery::reset_panner ()
{
+ if (_role == Listen) {
+ /* monitor out gets no panner */
+ return;
+ }
+
if (panners_legal) {
if (!no_panner_reset) {
}
_panshell->configure_io (ChanCount (DataType::AUDIO, pans_required()), ChanCount (DataType::AUDIO, ntargets));
-#ifdef PANNER_HACKS
- _panner->load (); // automation
-#endif
panner_legal_c.disconnect ();
return 0;
}
_panner.reset (pi->descriptor.factory (_pannable, _session.get_speakers()));
_panner->configure_io (in, out);
- /* PANNER_HACKS: only the real owner should be able to claim the pannable
- */
-
- _pannable->set_panner (_panner);
-
Changed (); /* EMIT SIGNAL */
}
_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 ());