SND_ReadTrackInfo

Syntax

#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 SND_ReadDriverInfo function can be used to obtain the driverInfo driver information structure.

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

2005/02/17 Initial version.


CONFIDENTIAL