Author Topic: How to know stream play end?  (Read 130 times)

kevinli

  • Posts: 2
How to know stream play end?
« on: 30 Nov '20 - 17:29 »
I plan to play 5 wav files one by one,  how to get notication when one file play end?  any callback?

Ian @ un4seen

  • Administrator
  • Posts: 23311
Re: How to know stream play end?
« Reply #1 on: 1 Dec '20 - 15:20 »
You can use BASS_ChannelSetSync with BASS_SYNC_END to request notification of when the end is reached. Please see the BASS_ChannelSetSync documentation for details.

kevinli

  • Posts: 2
Re: How to know stream play end?
« Reply #2 on: 1 Dec '20 - 22:56 »
it works,  great,
thanks