add_track


Description:

public bool add_track (CdSrcTrack track)

CDDA sources use this function from their start vfunc to announce the available data and audio tracks to the base source class.

The caller should allocate track on the stack, the base source will do a shallow copy of the structure (and take ownership of the taglist if there is one).

Parameters:

this

a CdSrc

track

address of CdSrcTrack to add

Returns:

FALSE on error, otherwise TRUE.