[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] Check Sound status in Pygame
- To: pygame-users@xxxxxxxx
- Subject: [pygame] Check Sound status in Pygame
- From: Wyatt Olson <wyatt.olson@xxxxxxxxx>
- Date: Sun, 17 Feb 2008 23:04:56 -0700
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Mon, 18 Feb 2008 01:05:17 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:x-enigmail-version:content-type; bh=JPk7K1BPvRifhRan0ebxVufltEREK25DRAoFkzEntP4=; b=PB7ny292VadgksME6sVRTUSZyIw7L08gKvdxX45pi4qwCM4qURY2IuaAc/r0lxQs/4gfeSU/Jrn35d+iF3bCpGSK508NttotdRFJzKo15FyitCNf9Tz29dG2ph1VA6er6oQtEZC8gyk5tYzxrHq8EIqD7dsgClLdYOOpTqqFZMg=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:x-enigmail-version:content-type; b=AK8BByDHxNexWF+rSUcQyhT+VAeSuJ6L8zmIYwsbOiOSBbI+LTFfN5a5u9Js5QQKVqO9h2PJnz02JsrJ6Qe/T5Q6L5gWnCR+QsZkarer4+1KTCHIXoKAKvlyodBGxzEcPiTLBudvfeI4liCa5DuGrk6wZVyvX1vZ00uZijy7yb8=
- In-reply-to: <47B91EB0.5000008@xxxxxxxxx>
- References: <47B91EB0.5000008@xxxxxxxxx>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
- User-agent: Thunderbird 2.0.0.9 (Macintosh/20071031)
Hello all,
I am developing a drum sequencer program using Pygame, and have a
(hopefully easy) architectural question for you. How can you tell if a
Sound object is currently playing? (On any channel - I don't care where
it is playing, I just want to know if it is). There is no
'is_playing()' or similar method which I could find. I imagine that
this is a pretty common request, so I must be just missing something.
Thanks!
Attachment:
signature.asc
Description: OpenPGP digital signature