FMOD Community Project

BlitzMax Forums/BlitzMax Programming/FMOD Community Project

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

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.