patch for mantis #2794 - fix route ordering after creating sends etc.

git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@7014 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2010-04-28 21:06:38 +00:00
parent a3cd755fc7
commit 2324bf93cc
3 changed files with 4 additions and 3 deletions

View file

@ -1070,7 +1070,7 @@ class Session : public PBD::StatefulDestructible
set_worst_io_latencies ();
}
void update_latency_compensation_proxy (void* ignored);
void route_redirects_changed (void* ignored);
void ensure_passthru_buffers (uint32_t howmany);

View file

@ -2181,7 +2181,7 @@ Session::add_routes (RouteList& new_routes, bool save)
(*x)->solo_changed.connect (sigc::bind (mem_fun (*this, &Session::route_solo_changed), wpr));
(*x)->mute_changed.connect (mem_fun (*this, &Session::route_mute_changed));
(*x)->output_changed.connect (mem_fun (*this, &Session::set_worst_io_latencies_x));
(*x)->redirects_changed.connect (mem_fun (*this, &Session::update_latency_compensation_proxy));
(*x)->redirects_changed.connect (mem_fun (*this, &Session::route_redirects_changed));
if ((*x)->master()) {
_master_out = (*x);

View file

@ -1403,9 +1403,10 @@ Session::update_latency_compensation (bool with_stop, bool abort)
}
void
Session::update_latency_compensation_proxy (void* ignored)
Session::route_redirects_changed (void* ignored)
{
update_latency_compensation (false, false);
resort_routes ();
}
void