Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


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

Posted on 2004-10-21
Medium Priority
Last Modified: 2010-04-05
I use TMediaPlayer in Delphi 7.0.
How do I have info about the tracks on an audio CD listed?
Question by:rainbowsoftware
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment

Accepted Solution

sokpas earned 375 total points
ID: 12374594
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.

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question