TCDPlayer Properties


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.


DiscInfo : TCDInfo;

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


LVolume : Integer;

Volume value for a left CD channel; the volume is expressed in values from 0 to 100.


MCN : array[0..13] of Char;

Readonly

Current disc's Medium Catalog Number. Many discs don't support this.


MediaChanged : Boolean;

Readonly

Returns True if the disc in the drive has changed since the last reference to this property and False otherwise. Always returns True if there is no disc in the drive.


Position : TCDPosition;

Readonly

Indicates the current playing position. The property is meaningful only if the disc is in the drive and is playing.


RVolume : Integer;

Volume value for a ritht CD channel; the volume is expressed in values from 0 to 100.


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


Tracks[const vIndex : Integer] : TCDTrackInfo

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.


TracksCount : Integer;

Readonly

Read TracksCount to get the number of tracks on the disc.


TCDPlayer ACS Classes Home


Copyright © 2002, 2003 Andrei Borovsky. All rights reserved.