On 19/12/10 01:50 PM, Ian Mallett wrote:
You can give your sound object a new field, and put a name in it, and then check that name.
I don't know if you can add a field directly to a Sound instance. But pygame.mixer.Sound can be subclasses, and the subclass accepts additional attributes. Then use Channel.get_sound to return the currently playing Sound object.

Lenard Lindstrom

Reply via email to