FMOD Community Project

BlitzMax Forums/BlitzMax Programming/FMOD Community Project

Hello again.

I'm using stream_play for playing ogg files.
FSOUND_Stream_Play(1,shorttrailer)

I'd love having a small player panel.

Does someone know how I can get:

1. the total length of the ogg file in h:mins:seconds?
2. the current playtime ^
3. and how to jump inside the stream (forward / backwards)?

Thanks.

There are
Function FSOUND_Stream_GetPosition:Int(stream:Int)
Function FSOUND_Stream_SetPosition:Int(stream:Int)
for instance, but I don't understand how to use them without crashing.