[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pygame] Music...
--- Pete Shinners <email@example.com> 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
> get_busy() methods.
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
pygame mailing list