Re: Sound troubles
Hi Thomas, On Thu, Jun 3, 2010 at 3:18 PM, Thomas PLESSIS 55...@supinfo.com wrote: I'm developing flash applications on OLPC using adobe air. We have some troubles with our flash application when we are playing sounds : randomly, the sound channel is down, and we need to restart application to have sounds again. We have noticed that it's happen after the standby of the laptop... Any idea on how to solve this problem? Care to try the most recent release candidate? It seems to contain fixes for sound +suspend troubles that might be related. cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Sound troubles
Hi guys, I'm developing flash applications on OLPC using adobe air. We have some troubles with our flash application when we are playing sounds : randomly, the sound channel is down, and we need to restart application to have sounds again. We have noticed that it's happen after the standby of the laptop... Any idea on how to solve this problem? Thanks for your help, Thomas ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Sound troubles
thomas wrote: Hi guys, I'm developing flash applications on OLPC using adobe air. We have some troubles with our flash application when we are playing sounds : randomly, the sound channel is down, and we need to restart application to have sounds again. We have noticed that it's happen after the standby of the laptop... Any idea on how to solve this problem? is this possibly related to http://dev.laptop.org/ticket/10168 ? i believe the squeak folks solved that problem (just yesterday, i think) by closely following the code examples pointed to in the last comment on #10168 -- i.e., by handling alsa's -ESTRPIPE error condition properly. paul =- paul fox, p...@laptop.org ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
RE: Sound troubles
Great, it seems to works better! Is there any way to disable all the power managements when the activity is starting? Thx, Thomas -Message d'origine- De : Paul Fox [mailto:p...@laptop.org] Envoyé : June-03-10 3:32 PM À : Thomas PLESSIS Cc : devel Objet : Re: Sound troubles thomas wrote: Hi guys, I'm developing flash applications on OLPC using adobe air. We have some troubles with our flash application when we are playing sounds : randomly, the sound channel is down, and we need to restart application to have sounds again. We have noticed that it's happen after the standby of the laptop... Any idea on how to solve this problem? is this possibly related to http://dev.laptop.org/ticket/10168 ? i believe the squeak folks solved that problem (just yesterday, i think) by closely following the code examples pointed to in the last comment on #10168 -- i.e., by handling alsa's -ESTRPIPE error condition properly. paul =- paul fox, p...@laptop.org ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Sound troubles
thomas wrote: Great, it seems to works better! Is there any way to disable all the power managements when the activity is starting? yes. it would really be better to only dispable power management during operations where it's truly desirable. i.e., if the screen is static, and the app isn't producing sound, then the laptop should be allowed to suspend. there's code that does this test in a couple of patches at http://dev.laptop.org/ticket/10036 -- you might be better off looking directly at /usr/share/python2.6/site-packages/bitfrost/update/setup.py because that's the tested version. but if you really want to disble suspend for the entire duration of your activity (again, not recommended), they you can simply create a file in /var/run/powerd-inhibit-suspend named after the PID of your process. powerd will clean it up for you after your process goes away. paul Thx, Thomas -Message d'origine- De : Paul Fox [mailto:p...@laptop.org] Envoyé : June-03-10 3:32 PM À : Thomas PLESSIS Cc : devel Objet : Re: Sound troubles thomas wrote: Hi guys, I'm developing flash applications on OLPC using adobe air. We have some troubles with our flash application when we are playing sounds : randomly, the sound channel is down, and we need to restart application to have sounds again. We have noticed that it's happen after the standby of the laptop... Any idea on how to solve this problem? is this possibly related to http://dev.laptop.org/ticket/10168 ? i believe the squeak folks solved that problem (just yesterday, i think) by closely following the code examples pointed to in the last comment on #10168 -- i.e., by handling alsa's -ESTRPIPE error condition properly. paul =- paul fox, p...@laptop.org =- paul fox, p...@laptop.org ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Sound troubles
Hi guys, I'm developing flash applications on OLPC using adobe air. We have some troubles with our flash application when we are playing sounds : randomly, the sound channel is down, and we need to restart application to have sounds again. We have noticed that it's happen after the standby of the laptop... Any idea on how to solve this problem? Thanks for your help, Thomas ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Sound troubles
I would strongly recommend working with the Karma framework at http://wiki.sugarlabs.org/go/Karma . I Have spent a fair amount of time working with Adobe to improve functionality on the XO and Sugar. At this point, it is financially not worth their effort to improve their products' functionality on a platform intended for students because their is not enough revenue potential. david On Thu, Jun 3, 2010 at 11:18 PM, Thomas PLESSIS 55...@supinfo.com wrote: Hi guys, I'm developing flash applications on OLPC using adobe air. We have some troubles with our flash application when we are playing sounds : randomly, the sound channel is down, and we need to restart application to have sounds again. We have noticed that it's happen after the standby of the laptop... Any idea on how to solve this problem? Thanks for your help, Thomas ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel