2019-02-18 17:03:13

So I'm trying to create a similar class to sound_pool in bgt but in python. Trouble is some properties are quite obscure. What would be the the same as sound.active in bgt but in sound_lib?

2019-02-18 17:07:35

assuming your using something like

handle=stream.FileStream

Just check to see if handle is valid

if handle: #is_active
else: #isn't active