Previous Topic Index Next Topic
[API function]

FSOUND_Stream_GetLengthMs

Returns the size of the stream in MILLISECONDS.

int F_API FSOUND_Stream_GetLengthMs(
FSOUND_STREAM *stream
);

Parameters

stream A pointer to the stream to have its total duration returned.

Return Value

On success, the size of the stream in MILLISECONDS is returned.
On failure, 0 is returned.

Remarks

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_Open

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