I'm confused by the return values of these two functions. GetDuration() does not return the actual stream's duration, and GetPlayingOffset() seems to "rotate" in some weird way.
I'm dealing with an ogg vorbis file that streams for 1:15 minutes, so I'm expecting a duration of roughly 75000ms, however,
GetDuration() returns 26744ms for me.
GetPlayingOffset() seems to return the true offset for a while. However, it goes beyond the duration that gets returned, and when it reaches ~50000ms, it gets reset back to zero and starts counting up again.
During all of the time, the music plays just well, it's just the duration and the playing offset methods that yield weird values.
I'm using an SFML 2.0 C++ build as of late July. The file in question is
http://stuff.pdinklag.de/overworld1.ogg (please don't redistribute, worked on this all morning
).
EDIT: The update as of August 8th fixes the playing offset rotating, but not the wrong duration being returned.