SND_ReadTrackInfo

C Specification

#include <nitro/snd.h>
BOOL SND_ReadTrackInfo(
const SNDDriverInfo* driverInfo,
int playerNo,
int trackNo,
SNDTrackInfo* trackInfo );

Arguments

driverInfo The pointer to the driver information structure.
playerNo The Player number. Takes a value between 0 and 15.
trackNo The track number. Takes a value between 0 and 15.
trackInfo The pointer to the track information structure to store the obtained information

Return Values

Returns whether the attempt to obtain the information succeeded or failed.

Description

Gets the track information from the driver information structure.

The driver information structure driverInfo can be obtained with the SND_ReadDriverInfo function.

If obtained successfully, the track information is written to trackInfo, the SNDTrackInfo-type structure for the track information.

See Also

SND_ReadDriverInfo, SNDTrackInfo

Revision History

02/17/2005 Initial version