I need to know exact offset in MP3 file in time. FSOUND_Stream_GetPosition can do that, but as manual says:
Position information is also based on the current file position, not the actual playing position, so if the stream is only updated every 100ms, then the position will only be updated every 100ms.
Does it mean, that what that function returns is affected size of buffer? Seems that YES.
In this case, to get exact position when user do action is not trivial, especially for small bitrates VBR mp3.
My question is: is it possible to find position in mp3 buffer, which sample is playing?
I see only way to have buffer for mp3 kept at minimal allowed size – but this can affect performance of playing, I’m afraid.
Any idea is appreciated
- davar asked 11 years ago
- You must login to post comments