fix initial panner control for new Sends

This commit is contained in:
Robin Gareus 2016-04-18 00:52:24 +02:00
parent 9840a11537
commit d3acba6be4
2 changed files with 2 additions and 3 deletions

View file

@ -2508,8 +2508,7 @@ ProcessorBox::choose_insert ()
void
ProcessorBox::choose_send ()
{
boost::shared_ptr<Pannable> sendpan(new Pannable (*_session));
boost::shared_ptr<Send> send (new Send (*_session, sendpan, _route->mute_master()));
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())