Solved

using the cd-rom to play cd audio

Posted on 1998-12-19
3
154 Views
Last Modified: 2010-04-04
I'm making a program for a cd, and want to be able to play audio tracks from it.  How do I gain control of playing these from inside my program?
0
Comment
Question by:Franker
  • 2
3 Comments
 
LVL 8

Expert Comment

by:ZifNab
ID: 1352113
Hi Franker,

use the component TMediaPlayer from the system palette of Delphi.

Regards, Zif.
0
 

Author Comment

by:Franker
ID: 1352114
I'm sorry, I guess I didn't explain this enough.  I have two problems right now...the more important one of that I need to be able to know where I am in the track.  I'm making a slideshow program with music, and cannot figure out how to decode the TimeFormat so I know where I am in the track so I can display the right images.  The second is that I have 2 cd roms, and I'd rather let TMediaPlayer use my other one.
0
 
LVL 8

Accepted Solution

by:
ZifNab earned 60 total points
ID: 1352115
Hi Franker,

1. Look at this source : http://www.torry.ru/samples/samples/abcdplay.zip (I believe it will give you the information you need, if not just ask!)
2. Use Mediaplayer1.FileName := 'F:'; with F: your second drive letter.

If you still got problems, just ask.

Zif.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

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 my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

785 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