Game Development Community

PlayLength(), isPlaying(), or done playing callback?

by Spencer Evans · in Technical Issues · 11/26/2007 (7:30 pm) · 0 replies

Hi-

I have been using alxIsPlaying( AUDIO_HANDLE ) to determine if a sound file is still playing, but this does not appear to be totally accurate. alxIsPlaying() returns false before before the sound is finished playing.

Is there a better way to determine if a sound is still audibly playing?
Is there a way to determine the track length, or how much time is remaining?
is there a way to set a callback to be issued when a sound is done playing?

Thanks!

About the author

Recent Threads