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 Codewarrior Only)

See Also

FSOUND_CD_GetTrackTime

This document copyright ©Firelight Technologies, Pty, Ltd, 1999-2002. All rights reserved.
Generated Fri Dec 20 16:31:08 2002 by SourceDoc v0.10, the automated source code documenter.