Previous Topic Index Next Topic
[API function]

FSOUND_Stream_SetTime

Sets the current stream's FILE position in MILLISECONDS.

signed char F_API FSOUND_Stream_SetTime(
FSOUND_STREAM *stream,
int ms
);

Parameters

stream Pointer to the stream to have its position set.
ms Time in milliseconds to seek to.

Return Value

On success, TRUE is returned.
On failure, FALSE is returned.

Remarks

If the stream has been opened with FSOUND_NONBLOCKING, this function will not succeed until the stream is ready.
FSOUND_MPEGACCURATE will need to be used with mp3 files that use VBR encoding for more accuracy.
___________________
Supported on the following platforms : Win32, WinCE, Linux, Macintosh, XBox, PlayStation 2, GameCube

See Also

FSOUND_Stream_GetLength , FSOUND_Stream_GetPosition , FSOUND_Stream_GetTime , FSOUND_Stream_SetPosition

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.