Advertisement

How do you play audio from an audio CD?

Started by December 07, 1999 12:21 AM
5 comments, last by SnowMonster 24 years, 11 months ago
2 ways:

Use the API commands (fairly fast)

or

Use the MCI control (slooooooooooowwwww!)

I'm programing for Linux also, and maybe Mac if I can, so should I use the API functions for each platform?

Is it possible to do this low-level myself?
Any good web sites for this?

Advertisement
For Linux, you might want to look at the DJGPP stuff - look for Brandon (something) - he has some freeware code on playing cd's.
Just do a search for game or source code and djgpp.

Jim Adams


Let me re-phrase, I'm "Planning" to program in Linux, so I don't know which compiler to use yet. I have heard of DJGPP from people on the CrystalSpace project, but don't know the site address. Do you know where to find it? Thanks.
To play AudioCDs on the Mac, you need to read . It really helps if you are familiar with the classic Device Manager APIs, but it's still a pretty mediocre API and implementation.

Matt Slot / Bitwise Operator / Ambrosia Software, Inc.
I need a way to play redbook audio from an audio CD in my game. This would be easy, but I can't use the Windows API functions. (Way too slow, and I am working multi-platform) Does anyone know how it is done? (I want to release the game in at least WIN MAC LINUX versions.
Advertisement
If you're interested in DJGPP it can be found at www.delorie.com; I don't know anything about using it in Linux though, (the version I use compiles for DOS32).
Luck!

This topic is closed to new replies.

Advertisement