mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 07:45:00 +01:00
Various optimisations to speed up rec-enable.
git-svn-id: svn://localhost/ardour2/branches/3.0@6227 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
4497db3f1a
commit
fddc11f556
18 changed files with 107 additions and 25 deletions
|
|
@ -318,8 +318,7 @@ ProcessorBox::set_route (boost::shared_ptr<Route> r)
|
|||
no_processor_redisplay = false;
|
||||
_route = r;
|
||||
|
||||
connections.push_back (_route->processors_changed.connect (
|
||||
mem_fun(*this, &ProcessorBox::redisplay_processors)));
|
||||
connections.push_back (_route->processors_changed.connect (mem_fun (*this, &ProcessorBox::route_processors_changed)));
|
||||
connections.push_back (_route->GoingAway.connect (
|
||||
mem_fun (*this, &ProcessorBox::route_going_away)));
|
||||
connections.push_back (_route->NameChanged.connect (
|
||||
|
|
@ -924,6 +923,17 @@ ProcessorBox::choose_aux (boost::weak_ptr<Route> wr)
|
|||
_session.add_internal_sends (target, PreFader, rlist);
|
||||
}
|
||||
|
||||
void
|
||||
ProcessorBox::route_processors_changed (RouteProcessorChange c)
|
||||
{
|
||||
if (c.type == RouteProcessorChange::MeterPointChange && c.meter_visibly_changed == false) {
|
||||
/* the meter has moved, but it was and still is invisible to the user, so nothing to do */
|
||||
return;
|
||||
}
|
||||
|
||||
redisplay_processors ();
|
||||
}
|
||||
|
||||
void
|
||||
ProcessorBox::redisplay_processors ()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue