Previous Topic Index Next Topic
[API function]

FSOUND_Stream_GetPosition

Returns the current FILE position of the stream of the stream in BYTES.

unsigned int F_API FSOUND_Stream_GetPosition(
FSOUND_STREAM *stream
);

Parameters

stream Pointer to the stream to have its position returned.

Return Value

On success, the current stream's position in BYTES is returned.
On failure, 0 is returned.

Remarks

Position functions for streams work in bytes not samples.
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.
-----
This function is not supported for URL based streams over the internet or CDDA streams
___________________
Supported on the following platforms : Win32, WinCE, Linux, Macintosh, XBox, PlayStation 2, GameCube

See Also

FSOUND_Stream_GetLength , FSOUND_Stream_SetPosition , FSOUND_Stream_SetTime

This document copyright ©Firelight Technologies, Pty, Ltd, 1999-2002. All rights reserved.
Generated Thu Dec 15 17:31:36 2005 by SourceDoc v0.10, the automated source code documenter.