fix initial panner control for new Sends
This commit is contained in:
parent
9840a11537
commit
d3acba6be4
|
@ -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<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 ());
|
const ChanCount& outs (r->amp ()->input_streams ());
|
||||||
try {
|
try {
|
||||||
Glib::Threads::Mutex::Lock lm (AudioEngine::instance ()->process_lock ());
|
Glib::Threads::Mutex::Lock lm (AudioEngine::instance ()->process_lock ());
|
||||||
|
|
|
@ -2508,8 +2508,7 @@ ProcessorBox::choose_insert ()
|
||||||
void
|
void
|
||||||
ProcessorBox::choose_send ()
|
ProcessorBox::choose_send ()
|
||||||
{
|
{
|
||||||
boost::shared_ptr<Pannable> sendpan(new Pannable (*_session));
|
boost::shared_ptr<Send> send (new Send (*_session, _route->pannable (), _route->mute_master()));
|
||||||
boost::shared_ptr<Send> send (new Send (*_session, sendpan, _route->mute_master()));
|
|
||||||
|
|
||||||
/* make an educated guess at the initial number of outputs for the send */
|
/* make an educated guess at the initial number of outputs for the send */
|
||||||
ChanCount outs = (_session->master_out())
|
ChanCount outs = (_session->master_out())
|
||||||
|
|
Loading…
Reference in New Issue
Block a user