BASS_CD_TOC structure

Used with BASS_CD_GetTOC to retrieve the TOC from a CD.

typedef struct {
    WORD size;
    BYTE first;
    BYTE last;
    BASS_CD_TOC_TRACK tracks[100];
} BASS_CD_TOC;

Members

sizeThe byte length of the TOC data, not including the 2 bytes taken by this size member.
firstThe first track number.
lastThe last track number.
tracksThe array of tracks.

Remarks

If BASS_CD_TOC_INDEX was used in the BASS_CD_GetTOC call, first and last will be index numbers rather than track numbers.

See also

BASS_CD_GetTOC, BASS_CD_TOC_TRACK structure