#8307 NORM 8.2.0 (: Sound doesn't work in pygame applications.

Zarro Boogs per Child bugtracker at laptop.org
Thu Sep 25 07:51:42 EDT 2008


#8307: Sound doesn't work in pygame applications.
------------------------+---------------------------------------------------
   Reporter:  cscott    |       Owner:  cscott                           
       Type:  defect    |      Status:  new                              
   Priority:  normal    |   Milestone:  8.2.0 (was Update.2)             
  Component:  security  |     Version:  Development build as of this date
 Resolution:            |    Keywords:  blocks:8.2.0                     
Next_action:  diagnose  |    Verified:  0                                
  Blockedby:            |    Blocking:                                   
------------------------+---------------------------------------------------

Comment(by marco):

 I spent some time debugging it but it's very random. It works sometimes if
 you play the sound at startup. Might be something pygame and glib
 mainloop, not really sure.

 I think debugging every activity which is broken by the preload hack is
 madness. We should focus on making activity startup faster, instead.
 Ideally I think the preload hack should be enabled explicitly in the
 activity.info, I think maemo do or used to do something similar. That's
 probably going to be inconvenient at this time in the release cycle. So my
 proposal would be:

  * Patch sugar/rainbow to enable/disable preload hack depending on a
 property in activity.info.
  * For 8.2 make the property default to enabled and disable it explicitly
 in activities like Bounce and Simcity.
  * As soon as joyride branch for 9.1 make the default disabled and enable
 it explicitly in activities that are known to work.

 Thoughts?

-- 
Ticket URL: <http://dev.laptop.org/ticket/8307#comment:9>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list