0
0

I have a sound playing by opening it as a stream.

Is it possible to query that stream, or perhaps the channel that it is playing in to see how much of that sound has played, i.e. 1400ms

Or do I need to keep a track of it myself?

  • You must to post comments
0
0

The FSOUND_Stream_Play function returns a value.
That value is a channel number.
You can use the channel number in functions such as FSOUND_GetTime()

See the documentation for all things that you can do :)

  • You must to post comments
0
0

He he, yeah thanks.

Just after typing this I found what I needed: FSOUND_Stream_GetTime

Thanks for the suggestion 😉 i.e. RTFM!

  • You must to post comments
0
0

Hehe, to the user it doesn’t really matter whether it’s an actual channel, or a handle to a channel I think.

And of course I also meant to use FSOUND_Stream_GetTime, since FSOUND_GetTime doesn’t exist…
I was confusing with the other functions such as FSOUND_SetVolume I think.

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.