Delphi interface to read audio data from a CD-ROM.
| ACS_CDROM | Delphi interface to read audio data from a CD-ROM. |
| Enumerations | |
| TCDStatus | The status of the CD-ROM drive. |
| TTrackType | The type of the current track. |
| TCDInfo | General information about the disc in the drive. |
| TCDMSF | The standard measure of time duration (and byte length) when dealing with CD-DA. |
| TCDTrackInfo | Carries information about a CD_DA track. |
| TCDPosition | Represents the current reader position on disc. |
| Constants | |
| EndOfDisc | This is a constant representing the logical position beyond the end of disc (very much like EOF for files). |
| TCDIn | This component reads data from CD-DA directly. |
| Functions | |
| Eject | Ejects CD-ROM drive’s tray. |
| CloseTray | Closes CD-ROM drive’s tray. |
| Properties | |
| DiscInfo | Read this property to get a TCDInfo about a disc in the drive. |
| Status | Read Status to get a TCDStatus about the drive. |
| Tracks | Returns information about a track specified by its number. |
| TracksCount | The number of tracks on the disc. |
| DriveName | The name of the current CD-ROM drive as returned by the drive unit. |
| DrivesCount | The total number of the CD-ROM drives detected in the system. |
| StartPos | Set this property to specify the starting position for data transfer in a TCDPosition format. |
| EndPos | Set this property to specify the end position for data transfer in a TCDPosition format. |
| CurrentDrive | Use this property to set or get the number of the current CD-ROM drive. |
| StartTrack | Set StartTrack to specify the starting position for data transfer at the beginning of the track identified by number. |
| EndTrack | Set EndTrack to specify the ending position for data transfer at the end of the track identified by number. |
This component reads data from CD-DA directly. It is suitable for creating CD-rippers. Descends from TAuInput. Requires CDRip.dll.
| Functions | |
| Eject | Ejects CD-ROM drive’s tray. |
| CloseTray | Closes CD-ROM drive’s tray. |
| Properties | |
| DiscInfo | Read this property to get a TCDInfo about a disc in the drive. |
| Status | Read Status to get a TCDStatus about the drive. |
| Tracks | Returns information about a track specified by its number. |
| TracksCount | The number of tracks on the disc. |
| DriveName | The name of the current CD-ROM drive as returned by the drive unit. |
| DrivesCount | The total number of the CD-ROM drives detected in the system. |
| StartPos | Set this property to specify the starting position for data transfer in a TCDPosition format. |
| EndPos | Set this property to specify the end position for data transfer in a TCDPosition format. |
| CurrentDrive | Use this property to set or get the number of the current CD-ROM drive. |
| StartTrack | Set StartTrack to specify the starting position for data transfer at the beginning of the track identified by number. |
| EndTrack | Set EndTrack to specify the ending position for data transfer at the end of the track identified by number. |
Read this property to get a TCDInfo about a disc in the drive.
Read Status to get a TCDStatus about the drive.
Returns information about a track specified by its number. The possible values of indexes range from 1 to TracksCount. The information about a track is returned as TCDTrackInfo record.
Set this property to specify the starting position for data transfer in a TCDPosition format.
Set this property to specify the end position for data transfer in a TCDPosition format. There is a special constant <EndOfDisc> of type TCDPosition If you want to record from a certain point to the end of disc, set this property value to <EndOfDisc>.
Use this property to set or get the number of the current CD-ROM drive. Possible values range from 0 to DrivesCount - 1.
Ejects CD-ROM drive’s tray.
procedure Eject
Closes CD-ROM drive’s tray.
procedure CloseTray