CDPath : String;
Linux only
Set CDPath to specify the path to the CD-ROM device file. The default value is "/dev/cdrom" which is the CD-ROM device file on most systems with only one CD-ROM device.
CurrentDrive : Integer;
Windows only
Use this property to set or get the number of the current CD-ROM drive. Possible values range from 0 to DrivesCount - 1.
Readonly
Read DiscInfo to obtain an information about the disc currently in the drive. The possible values of this property are:
cdiNoDisc - No disc in the drive
cdiDiscAudio - Disc is an audio disc
cdiDiscData - Disc is a data disc
cdiDiscMixed - Disc is a mixed audio-data disc
cdiUnknown - Unknown disc
See also:Status
DriveName : String;
Windows only, Readonly
The name of the current CD-ROM drive as returned by the drive unit.
DrivesCount : Integer;
Windows only, Readonly
The total number of the CD-ROM drives detected.
Set this property to specify the ending position for data transfer in terms of track number : MSF. There is an EndOfDisc constant in ACS_CDROM unit. Use this constant to specify the end of disk as the ending position for data transfer.
EndTrack : Integer;
Set EndTrack to specify the ending position for data transfer at the end of the track identified by number. If you want to get data from a single track, the end track number should be the same as the start track number.
See also: StartTrack, EndPos
Set this property to specify the starting position for data transfer in terms of track number : MSF.
See also: EndPos StartTrack
Set StartTrack to specify the starting position for data transfer at the beginning of the track identified by number. The tracks are numbered starting from 1.
Status : TCDStatus;
Readonly
Read Status to get an information about the disc/drive status.
The possible values of this property are:
cdsNotReady - Drive is not ready
cdsReady - Drive is ready to play
cdsPlaying - Drive is already playing a disc
cdsPaused - Drive is paused
See also: DiscInfo
Readonly
Provides an information about a particular disc track. This property can be treaded as an indexed array, where the index 1 corresponds to the first data/audio track on the disc and the last possible index is equal to TracksCount property.
Readonly
Read TracksCount to get the number of tracks on the disc.
Copyright © 2002, 2003 Andrei Borovsky. All rights reserved.