Author: fmueller
Date: Wed Sep 21 02:02:38 2011
New Revision: 9538
URL: http://svn.slimdevices.com/jive?rev=9538&view=rev
Log:
Bug: 16100
Description: Fallback alarm - fix to make it sound from the speaker even though
headphones are plugged in
Modified:
7.6/trunk/squeezeplay/src/squeezeplay_baby/share/applets/SqueezeboxBaby/SqueezeboxBabyApplet.lua
Modified:
7.6/trunk/squeezeplay/src/squeezeplay_baby/share/applets/SqueezeboxBaby/SqueezeboxBabyApplet.lua
URL:
http://svn.slimdevices.com/jive/7.6/trunk/squeezeplay/src/squeezeplay_baby/share/applets/SqueezeboxBaby/SqueezeboxBabyApplet.lua?rev=9538&r1=9537&r2=9538&view=diff
==============================================================================
---
7.6/trunk/squeezeplay/src/squeezeplay_baby/share/applets/SqueezeboxBaby/SqueezeboxBabyApplet.lua
(original)
+++
7.6/trunk/squeezeplay/src/squeezeplay_baby/share/applets/SqueezeboxBaby/SqueezeboxBabyApplet.lua
Wed Sep 21 02:02:38 2011
@@ -989,8 +989,8 @@
self.powerState = state
- -- Bug 16100, only setEndpoint if alarm is not active
- if self.player and (self.player:getAlarmState() == 'active' or
self.player:getAlarmState() == 'snooze') then
+ -- Bug 16100, only setEndpoint if alarm is not in state: active, snooze
or active_fallback
+ if self.player and (self.player:getAlarmState() == 'active' or
self.player:getAlarmState() == 'snooze' or self.player:getAlarmState() ==
'active_fallback') then
-- leave audio coming out speaker when alarm is active or in
snooze (alarm forces output out speaker)
log:info('Alarm either in progress or snooze, do not call
_setEndpoint()')
else
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/jive-checkins