I am using your FMOD libbrary to develop a mp3 player which can tream from the Icecast server.
The function FSOUND_Stream_GetLengthMs, however, returns a wrong length of the stream which I’ve opened using:
m_stream = FSOUND_Stream_Open(szURL, FSOUND_NORMAL | FSOUND_NONBLOCKING | FSOUND_MPEGACCURATE, 0, 0);
Please tell me if that’s a bug in FMOD or if I did not do all necessary things.
- nvtzzz asked 15 years ago
FMOD currently doesn’t support getting the length of internet streams except in the case of HTTP streams. This may be fixed in a future release. I assume you’re streaming static files from your Icecast server – if you really need to get stream length then use HTTP instead of Icecast.
Please login first to submit.