0
0

Is there a way (callback) to know if the stream is lets say 10 sec before it end or do I have to check it with timer?

10x

  • You must to post comments
0
0

It’s best to check with a timer, because you need to update FMOD in a timer anyway to get a callback.

  • You must to post comments
0
0

I’m using a timer to try and signal my ‘Song_Done’ event in C#.
I’m comparing getLength with getPosition. When they’re equal, the song is done (or so I’d have thought). doesn’t work with all files. I’m using FMOD.TIMEUNIT.RAWBYTES as the timeunit it both functions. is there another time unit that works with all file formats? Or do I have to use a different time unit for each file format? (I’m only guessing that the time unit I’m using is having an effect).

Thanks..
Lance

  • You must to post comments
0
0

It’s better to use the Channel::isPlaying

  • You must to post comments
0
0

Thanks!

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.