update internal-send port-count when target port-count changes
[ardour.git] / libs / ardour / delivery.cc
index dfbe4c960adcad6151038804b85919b1bdf6166a..575d26acdddc8f9852c40a6bb712318a6413ac29 100644 (file)
@@ -245,7 +245,7 @@ Delivery::run (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame, pf
           processing pathway that wants to use this->output_buffers() for some reason.
        */
 
-       output_buffers().get_jack_port_addresses (ports, nframes);
+       output_buffers().get_backend_port_addresses (ports, nframes);
 
        // this Delivery processor is not a derived type, and thus we assume
        // we really can modify the buffers passed in (it is almost certainly
@@ -388,7 +388,7 @@ Delivery::reset_panner ()
                        if (_panshell) {
                                _panshell->configure_io (ChanCount (DataType::AUDIO, pans_required()), ChanCount (DataType::AUDIO, pan_outs()));
                                
-                               if (_role == Main) {
+                               if (_role == Main || _role == Aux) {
                                        _panshell->pannable()->set_panner (_panshell->panner());
                                }
                        }