Author: bklaas
Date: Wed Jan 13 13:22:36 2010
New Revision: 8334

URL: http://svn.slimdevices.com/jive?rev=8334&view=rev
Log:
 r38...@daddymac-520 (orig r8325):  mwise | 2010-01-12 18:35:04 -0500
 Adding this back in, its performance improvement was extremely useful. 
Adjusted its location to be within the parabuild tree at least.
 r38...@daddymac-520 (orig r8326):  mwise | 2010-01-12 19:01:43 -0500
 This should save some disk space by only keeping the needed tarball from 
checkouts, not BOTH the original and the modified one.
 r38...@daddymac-520 (orig r8327):  mwise | 2010-01-12 19:05:42 -0500
 Even better, this *should* split up git, svn, cvs and downloaded files into 
different directories. Makes it easier to mirror the downloads if necessary.
 r38...@daddymac-520 (orig r8328):  mwise | 2010-01-12 19:09:38 -0500
 Typo in the build dir name.
 r38...@daddymac-520 (orig r8330):  andy | 2010-01-12 20:02:18 -0500
 Bump Devel::NYTProf to 3.01
 r38...@daddymac-520 (orig r8333):  bklaas | 2010-01-13 15:22:21 -0500
  r38...@daddymac-520 (orig r8324):  mwise | 2010-01-12 18:33:37 -0500
  Adding this back in, its performance improvement was extremely useful. 
Adjusted its location to be within the parabuild tree at least.
  r38...@daddymac-520 (orig r8329):  mwise | 2010-01-12 19:43:09 -0500
  Back-porting changes from 7.5 build.sh to 7.4
  r38...@daddymac-520 (orig r8331):  bklaas | 2010-01-13 14:54:23 -0500
  Bug: 14870
  Description: Use decode:status().audioState as the gold standard for deciding 
if audio is coming out the speakers. In my tests this reliably works for both 
streaming audio and the client-side fallback alarm.
  
  I believe this checkin may fix the reliability issues such that a user should 
be able to depend on something to wake them up at alarm time.
  
  I will fall short of calling this bug fixed, but let's call it "Release 
Candidate 1" :)
  
  
  r38...@daddymac-520 (orig r8332):  bklaas | 2010-01-13 15:21:11 -0500
  Bug: 14870
  Description: if server comes back after rtc alarm has fired, call the 
sledgehammer to make sure audio continues to pipe out the speaker.
  
 

Added:
    
7.6/trunk/squeezeos/poky/meta-squeezeos/packages/perl/libdevel-nytprof-perl_3.01.bb
      - copied, changed from r8266, 
7.6/trunk/squeezeos/poky/meta-squeezeos/packages/perl/libdevel-nytprof-perl_2.10.bb
Removed:
    
7.6/trunk/squeezeos/poky/meta-squeezeos/packages/perl/libdevel-nytprof-perl_2.10.bb
Modified:
    7.6/trunk/   (props changed)
    7.6/trunk/squeezeos/poky/parabuild/build.sh
    
7.6/trunk/squeezeplay/src/squeezeplay/share/applets/AlarmSnooze/AlarmSnoozeApplet.lua

Propchange: 7.6/trunk/
------------------------------------------------------------------------------
--- svk:merge (original)
+++ svk:merge Wed Jan 13 13:22:36 2010
@@ -12,8 +12,8 @@
 bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/7.4/private-branches/fab4-autoswitch:5831
 bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/7.4/private-branches/fab4-skin:4552
 bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/7.4/private-branches/new-alsa:6567
-bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/7.4/trunk:8320
-bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/7.5/trunk:8321
+bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/7.4/trunk:8332
+bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/7.5/trunk:8333
 bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/7.0:2013
 bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/SN:1083
 bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/scrolling:1378

Copied: 
7.6/trunk/squeezeos/poky/meta-squeezeos/packages/perl/libdevel-nytprof-perl_3.01.bb
 (from r8266, 
7.6/trunk/squeezeos/poky/meta-squeezeos/packages/perl/libdevel-nytprof-perl_2.10.bb)
URL: 
http://svn.slimdevices.com/jive/7.6/trunk/squeezeos/poky/meta-squeezeos/packages/perl/libdevel-nytprof-perl_3.01.bb?p2=7.6/trunk/squeezeos/poky/meta-squeezeos/packages/perl/libdevel-nytprof-perl_3.01.bb&p1=7.6/trunk/squeezeos/poky/meta-squeezeos/packages/perl/libdevel-nytprof-perl_2.10.bb&r1=8266&r2=8334&rev=8334&view=diff
==============================================================================
--- 
7.6/trunk/squeezeos/poky/meta-squeezeos/packages/perl/libdevel-nytprof-perl_2.10.bb
 (original)
+++ 
7.6/trunk/squeezeos/poky/meta-squeezeos/packages/perl/libdevel-nytprof-perl_3.01.bb
 Wed Jan 13 13:22:36 2010
@@ -1,7 +1,7 @@
 DESCRIPTION = "Devel::NYTProf - Powerful feature-rich perl source code 
profiler"
 SECTION = "libs"
 LICENSE = "Artistic|GPL"
-PR = "r12"
+PR = "r13"
 DEPENDS = "zlib"
 
 SRC_URI = 
"http://search.cpan.org/CPAN/authors/id/T/TI/TIMB/Devel-NYTProf-${PV}.tar.gz \

Modified: 7.6/trunk/squeezeos/poky/parabuild/build.sh
URL: 
http://svn.slimdevices.com/jive/7.6/trunk/squeezeos/poky/parabuild/build.sh?rev=8334&r1=8333&r2=8334&view=diff
==============================================================================
--- 7.6/trunk/squeezeos/poky/parabuild/build.sh (original)
+++ 7.6/trunk/squeezeos/poky/parabuild/build.sh Wed Jan 13 13:22:36 2010
@@ -57,7 +57,13 @@
 
 # Make build use all available CPUs
 echo "BB_NUMBER_THREADS = $CPUCOUNT
-# DL_DIR = $HOME/.poky_dl_dir - commented out because it creates dangerous 
disk space situations
+BB_GENERATE_MIRROR_TARBALLS = 0
+
+DL_DIR = /opt/parabuild/etc/build/poky_dl_dir 
+CVSDIR = /opt/parabuild/etc/build/poky_cvs_dir
+GITDIR = /opt/parabuild/etc/build/poky_git_dir
+SVNDIR = /opt/parabuild/etc/build/poky_svn_dir
+
 PARALLEL_MAKE = \"-j $CPUCOUNT\" " >> conf/local.conf
 
 # Build firmware images, multiple machines can be built here

Modified: 
7.6/trunk/squeezeplay/src/squeezeplay/share/applets/AlarmSnooze/AlarmSnoozeApplet.lua
URL: 
http://svn.slimdevices.com/jive/7.6/trunk/squeezeplay/src/squeezeplay/share/applets/AlarmSnooze/AlarmSnoozeApplet.lua?rev=8334&r1=8333&r2=8334&view=diff
==============================================================================
--- 
7.6/trunk/squeezeplay/src/squeezeplay/share/applets/AlarmSnooze/AlarmSnoozeApplet.lua
 (original)
+++ 
7.6/trunk/squeezeplay/src/squeezeplay/share/applets/AlarmSnooze/AlarmSnoozeApplet.lua
 Wed Jan 13 13:22:36 2010
@@ -182,32 +182,18 @@
 function _alarm_sledgehammerRearm(self, caller)
        local hammer = false
        
-       if self.alarmInProgress == 'server' then
-               local status = decode:status()
-               -- just informational
-               log:warn('alarm_sledgehammerRearm(', caller,'): SERVER alarm in 
progress - audioState is ', status.audioState)
-               
-               if not status.audioState == 1 then
-                       log:warn('alarm_sledgehammerRearm(', caller,'): SERVER 
alarm in progress, but stream is nil - firing fallback alarm')
-                       hammer = true
-               end
-       -- restart audio on any state transition from SqueezeOS, but not on 
local polls 
-       --elseif self.alarmInProgress == 'rtc' and caller ~= '_pollDecodeState' 
then
-       elseif self.alarmInProgress == 'rtc' then
-               log:warn('alarm_sledgehammerRearm(', caller,'): RTC alarm 
already in progress - restarting alarm audio asynchronously')
+       local status = decode:status()
+       --debug.dump(status)
+
+       log:warn('alarm_sledgehammerRearm(', caller,'): ', 
self.alarmInProgress, ' alarm in progress - audioState is ', status.audioState)
+       if status.audioState ~= 1 then
                hammer = true
        end
-       
+
        if hammer then 
-               -- immediately set volume back where it was
-               log:warn('alarm_sledgehammerRearm: local volume is ', 
self.localPlayer:getVolume())
-               --localPlayer:volumeLocal(43);
-               
-               -- let some time pass so whatever is messing with the player 
settings underneath finishes (last request to play wins!)
-               -- self:openAlarmWindow('rtc')
-
                self:_stopTimer()
                -- kickstart audio output again, asynchronously, so whatever 
else is messing with the audio settings is hopefully finished
+               log:warn('alarm_sledgehammerRearm: audio not in good shape 
while alarm is firing. restart timer asynchronously at 1.5secs')
                self:_startTimer(1500)
        end
 end
@@ -282,9 +268,10 @@
        -- don't want to cause error if no connection
        if self.localPlayer and self.localPlayer:isConnected() then
                log:info('                      local player->server is ', 
self.localPlayer:getSlimServer())
-       end
-    
---     self:_alarm_sledgehammerRearm('notify_serverConnected')
+               if self.localPlayer:getSlimServer() == server then
+                       self:_alarm_sledgehammerRearm('notify_serverConnected')
+               end
+       end
 end
 
 

_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/jive-checkins

Reply via email to