13
0

rec-light patch from jim duchek (thanks!)

git-svn-id: svn://localhost/ardour2/trunk@1027 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2006-10-26 18:13:54 +00:00
parent 59517c485a
commit 6f0c82ee87

View File

@ -760,6 +760,14 @@ TranzportControlProtocol::update_state ()
} }
} }
if (pending_lights[LightTrackrec] != lights[LightTrackrec]) {
if (pending_lights[LightTrackrec]) {
light_on (LightTrackrec);
} else {
light_off (LightTrackrec);
}
}
if (pending_lights[LightTrackmute] != lights[LightTrackmute]) { if (pending_lights[LightTrackmute] != lights[LightTrackmute]) {
if (pending_lights[LightTrackmute]) { if (pending_lights[LightTrackmute]) {
light_on (LightTrackmute); light_on (LightTrackmute);