mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
fix clicking when processors become active/inactive; reduce crazy 2.5sec delay for quit dialog
git-svn-id: svn://localhost/ardour2/branches/3.0@5402 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
2093d59a96
commit
f411496289
20 changed files with 121 additions and 63 deletions
|
|
@ -343,7 +343,7 @@ MixerStrip::set_route (boost::shared_ptr<Route> rt)
|
|||
_current_delivery = _route->main_outs ();
|
||||
|
||||
panners.set_panner (rt->main_outs()->panner());
|
||||
gpm.set_controls (rt, rt->shared_peak_meter(), rt->gain_control(), rt->amp());
|
||||
gpm.set_controls (rt, rt->shared_peak_meter(), rt->amp());
|
||||
processor_box.set_route (rt);
|
||||
|
||||
if (set_color_from_route()) {
|
||||
|
|
@ -1419,12 +1419,12 @@ MixerStrip::switch_io (boost::shared_ptr<Route> target)
|
|||
send = boost::dynamic_pointer_cast<Send>(_current_delivery);
|
||||
send->set_metering (true);
|
||||
_current_delivery->GoingAway.connect (mem_fun (*this, &MixerStrip::revert_to_default_display));
|
||||
gain_meter().set_controls (_route, send->meter(), send->amp()->gain_control(), send->amp());
|
||||
gain_meter().set_controls (_route, send->meter(), send->amp());
|
||||
panner_ui().set_panner (_current_delivery->panner());
|
||||
|
||||
} else {
|
||||
_current_delivery = _route->main_outs ();
|
||||
gain_meter().set_controls (_route, _route->shared_peak_meter(), _route->gain_control(), _route->amp());
|
||||
gain_meter().set_controls (_route, _route->shared_peak_meter(), _route->amp());
|
||||
panner_ui().set_panner (_route->main_outs()->panner());
|
||||
}
|
||||
|
||||
|
|
@ -1446,7 +1446,7 @@ MixerStrip::revert_to_default_display ()
|
|||
|
||||
_current_delivery = _route->main_outs();
|
||||
|
||||
gain_meter().set_controls (_route, _route->shared_peak_meter(), _route->gain_control(), _route->amp());
|
||||
gain_meter().set_controls (_route, _route->shared_peak_meter(), _route->amp());
|
||||
gain_meter().setup_meters ();
|
||||
panner_ui().set_panner (_route->main_outs()->panner());
|
||||
panner_ui().setup_pan ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue