How do I get info about the tracks on an audio CD

I use TMediaPlayer in Delphi 7.0.
How do I have info about the tracks on an audio CD listed?
Joern
rainbowsoftwareAsked:
Who is Participating?
 
sokpasConnect With a Mentor Commented:
Tasks for accessing information on the medium

To determine the ID of the current device, use the runtime/read-only property DeviceID.
To determine the number of tracks on the open multimedia device, use the run-time/read-only property Tracks.


To determine the length of a track, use the run-time/read-only property TrackLength for the current TrackNum index.
property TrackLength[TrackNum: Integer]: Longint;
TrackLength reports the length of the track specified by the TrackNum index.
The value of TrackLength is specified according to the current time format, which is specified in the TimeFormat property.


TrackPosition reports the starting position of the track specified by the TrackNum index.
property TrackPosition[TrackNum: Integer]: Longint;
The value of TrackPosition is specified according to the current time format, which is specified in the TimeFormat property.
0
All Courses

From novice to tech pro — start learning today.