13
0

patch from lincoln to make mute controllable emit its Changed signal; note to self: should route really have a mute_changed() signal too?

git-svn-id: svn://localhost/ardour2/branches/3.0@8291 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2010-12-17 04:14:24 +00:00
parent 428aabdcfc
commit f7763f4d8c

View File

@ -108,7 +108,7 @@ Route::init ()
/* add standard controls */
_solo_control->set_flags (Controllable::Flag (_solo_control->flags() | Controllable::Toggle));
_mute_control->set_flags (Controllable::Flag (_solo_control->flags() | Controllable::Toggle));
_mute_control->set_flags (Controllable::Flag (_mute_control->flags() | Controllable::Toggle));
add_control (_solo_control);
add_control (_mute_control);
@ -784,6 +784,7 @@ Route::set_mute_points (MuteMaster::MutePoint mp)
if (_mute_master->muted_by_self()) {
mute_changed (this); /* EMIT SIGNAL */
_mute_control->Changed (); /* EMIT SIGNAL */
}
}
@ -798,6 +799,7 @@ Route::set_mute (bool yn, void *src)
if (muted() != yn) {
_mute_master->set_muted_by_self (yn);
mute_changed (src); /* EMIT SIGNAL */
_mute_control->Changed (); /* EMIT SIGNAL */
}
}