Previous Topic Index Next Topic
[API function]

FSOUND_CD_Play

Plays a CD Audio track.

signed char F_API FSOUND_CD_Play(
int track
);

Parameters

track the CD track number to play. The first track starts at 1.

Return Value

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

Remarks

See FSOUND_CD_SetPlayMode for information on how to control playback of a CD track.
FSOUND's CD Playback system, is a non intrusive, non polling system. This may not mean
much to a lot of people, but a polling player (take the windows default CD player) will
consistantly poll the CD device to update its status, which causes other applications
to jerk, or pause consistantly. This would be inexcusable in a game, to have the game
halt or jerk every second to few seconds or so. FSOUND uses timing and prediction to
loop tracks and update the status of the CD, and never touches the CD device during
playback, for TRUE 0Špu usage.
FSOUND_Init or FSOUND_Close are not needed to use these functions.

See Also

FSOUND_CD_GetVolume , FSOUND_CD_SetPlayMode , FSOUND_CD_SetVolume , FSOUND_CD_Stop , FSOUND_Close , FSOUND_Init

This document copyright ©Firelight Multimedia, 1999-2001. All rights reserved.
Generated Thu Sep 13 00:18:09 2001 by SourceDoc v0.10, the automated source code documenter.