PBD::Signal0<void> Located;
PBD::Signal1<void,RouteList&> RouteAdded;
+ /** Emitted when anything about any of our route groups changes */
PBD::Signal0<void> RouteGroupChanged;
void queue_event (SessionEvent*);
r->mute_changed.connect_same_thread (*this, boost::bind (&Session::route_mute_changed, this, _1));
r->output()->changed.connect_same_thread (*this, boost::bind (&Session::set_worst_io_latencies_x, this, _1, _2));
r->processors_changed.connect_same_thread (*this, boost::bind (&Session::route_processors_changed, this, _1));
- r->route_group_changed.connect_same_thread (*this, boost::bind (&Session::route_group_changed, this));
if (r->is_master()) {
_master_out = r;
}
}
+/** Called when anything about any of our route groups changes (membership, state etc.) */
void
Session::route_group_changed ()
{
{
_route_groups.push_back (g);
route_group_added (g); /* EMIT SIGNAL */
+
+ g->MembershipChanged.connect_same_thread (*this, boost::bind (&Session::route_group_changed, this));
+ g->PropertyChanged.connect_same_thread (*this, boost::bind (&Session::route_group_changed, this));
+
set_dirty ();
}