[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pygame] Music...




--- Pete Shinners <shredwheat@mediaone.net> wrote:
> SDL provides a C callback for the music finishing,
> but not for
> sound channels finishing. (thats a pretty good
> reason, eh?)

Couldn't the audio buffer empty callback that's
specified in ...checks www.libsdl.org ...
SDL_OpenAudio/SDL_AudioSpec be used to synthesize a
playback finished event? When the callback is called
and there was no more sound data to put in it?

> the only way to really test for a sound object to
> finish playing
> is to poll it frequently with one of the (excitingly
> named)
> get_busy() methods.



__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org