LoadTrackFromCd method |
|
Remarks
Loads the given CD track into the given player.
CD tracks can be loaded with the LoadSound method also.
The total number of available CD drives can be obtained using the GetCdDrivesCount method.
The total number of available audio tracks on the given CD can be obtained using the GetCdNumTracks method.
Due to the nature of CD drives, the loading session of a full CD track can be a lengthy operation so, in order to avoid blocking the user interface, the CD track loading session is performed inside a dedicated thread: the container application can be informed about the advancement of the CD track loading session through the following events: CdReadTrackStart, CdReadTrackPercentage and CdReadTrackStop.
Syntax
Return value
|