13
0

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

@ -1654,7 +1654,7 @@ PluginPinDialog::add_send_from (boost::weak_ptr<ARDOUR::Port> wp, boost::weak_pt
}
boost::shared_ptr<Pannable> sendpan (new Pannable (*_session));
boost::shared_ptr<Send> send (new Send (*_session, sendpan, r->mute_master ()));
boost::shared_ptr<Send> send (new Send (*_session, r->pannable (), r->mute_master ()));
const ChanCount& outs (r->amp ()->input_streams ());
try {
Glib::Threads::Mutex::Lock lm (AudioEngine::instance ()->process_lock ());

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())