Previous Topic Index Next Topic
[API function]

FSOUND_CD_GetTrackLength

Gets the track length of a CD.

int F_API FSOUND_CD_GetTrackLength(
char drive,
int track
);

Parameters

drive the drive ID to use. 0 is the default CD drive. Using D or E in single quotes would be D: or E: for example.
track The CD track number to query the length of. (starts from 1)

Return Value

On success, the length of the current track in milliseconds is returned.
On failure, 0 is returned.

Remarks

___________________
Supported on the following platforms : Win32, Linux, Macintosh (OSX CFM Only)

See Also

FSOUND_CD_GetTrackTime , FSOUND_CD_SetTrackTime

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