View Single Post
Posts: 462 | Thanked: 550 times | Joined on Sep 2008 @ Moscow
#136
Originally Posted by ciroip View Post
wow, reading back my last post I realize how suck in 'explanation skill'.
Anyway Im still working on the ESD sound thing juicing resources all the time. If someone have any suggestions because I cant really figure it out why (maybe is just how pygame works?) Should I look for an alternative way to play the alarmsound?
Yep. Sound playing in pygame is crappy. I tried to use it, but cpu consumption is just enormous for that little thing.
You can just use
Code:
hildon.hildon_play_system_sound(absolute_path_to_the_sound_file)
I'm not sure if it can play files other than WAV (no time and too lazy).
The other way, if you need to play other formats, could be using OSD, MPlayer, other player, but it seems to be a bit heavy.
 

The Following 2 Users Say Thank You to 412b For This Useful Post: