Better choice for ports on external send creation
[ardour.git] / gtk2_ardour / processor_box.cc
index c70dc9078a96b1b015f25612e5b4e1b75d3e3fa3..852acf230f1de0323bf61909ccf2c3005aeb7041 100644 (file)
@@ -2496,7 +2496,7 @@ ProcessorBox::choose_send ()
        boost::shared_ptr<Send> send (new Send (*_session, _route->pannable (), _route->mute_master()));
 
        /* make an educated guess at the initial number of outputs for the send */
-       ChanCount outs = (_session->master_out())
+       ChanCount outs = (_route->n_outputs().n_audio() && _session->master_out())
                        ? _session->master_out()->n_outputs()
                        : _route->n_outputs();