View Single Post
noobmonkey's Avatar
Posts: 3,203 | Thanked: 1,391 times | Joined on Nov 2009 @ Worthing, England
#8
Originally Posted by lcuk View Post
doesnt the python mixer have get_busy() method which can be used to check if things are in use?

pseudocode:

if pygame.mixer.get_busy()
python.mixer.pause()
else
python.mixer.unpause()


certainly sounds more feasible to me, but there might be a reason you cannot use similar
you shouldn't need to retain the state - technically it should come from each channel/the mixer

ooo i like the pygame stuff - just been having a read-up
http://www.pygame.org/docs/ref/mixer.html

EL Amir - take a look at these ones
http://code.activestate.com/recipes/...ss-platform-m/
__________________
----------- Follow me on Twitter here
----------- My Photography Website and Blog is here
----------- Author of the N900 Health Check Application ----------- New Version in Extras Devel (Dec 2010 - 2.9.10)
----------- Are you on the N900 World Map? - http://pininthemap.com/maemo - masterpin: shotgun
----------- What apps do you want to see on the n900 or in MeeGo in the future? -