0
0

Hey ya’ll,

I was wondering if anyone here knows a good way to detect when a stream has finished playing–when a song has completed. I’m trying to work out a play list that will go to the next item once a song is completed, any ideas? Thanks.

Pankaj

  • You must to post comments
0
0

If Fsound_IsPlaying(Channel) = False Then… You could do something like this in combination with some code checking whether or not the current position = the length of the song in samples. And if it does go to the next song. Hope this helps! 😀

  • You must to post comments
0
0

Why don’t you just use a proper callback function?

It is executed exactly when the stream is over. See the manual for details.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.