0
0

I use FSOUND_Stream_Open with FSOUND_MPEGACCURATE. I use FSOUND_Stream_GetLengthMs to get the end position of audio files. When i use FSOUND_Stream_SetTime to go to the end position, i get FMOD error:

An invalid parameter was passed to this function

When i use FSOUND_Stream_SetTime to go to the second to last position, there are no errors. Can someone explain? Is the last position an end marker of sorts, and not part of the audio stream, and should be ignored?

Thank you,

Llyal

  • You must to post comments
0
0

Thanks for the quick response, I understand now.

The reason i seek the last position is that i believe FMod automatically stops the stream when it plays past the end (ms-1). I would prefer FMod to simply pause when it reaches the end. My workaround is to immediately enable play pause when the end is reached. When the stream is stopped i am unable to scan the stream to preview, locate loop points, etcetera, so i always need the stream in play or play pause modes.

–Llyal

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.