Solved

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

Posted on 2004-10-21
197 Views
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?
Joern
0
Question by:rainbowsoftware
    1 Comment
     
    LVL 1

    Accepted Solution

    by:
    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

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone. Privacy Policy Terms of Use

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
    Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
    This video Micro Tutorial is the first in a two-part series that shows how to create and use custom scanning profiles in Nuance's PaperPort 14.5 (http://www.experts-exchange.com/articles/17490/). But the ability to create custom scanning profiles al…
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

    875 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

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now