Jump to content

  • Log In with Google      Sign In   
  • Create Account

How do you play audio from an audio CD?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
6 replies to this topic

#1 SnowMonster   Members   -  Reputation: 122

Like
Likes
Like

Posted 06 December 1999 - 06:21 PM

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.

Sponsor:

#2 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Likes

Posted 29 November 1999 - 10:45 AM

2 ways:

Use the API commands (fairly fast)

or

Use the MCI control (slooooooooooowwwww!)


#3 SnowMonster   Members   -  Reputation: 122

Like
Likes
Like

Posted 29 November 1999 - 12:35 PM

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?


#4 Jim Adams   Members   -  Reputation: 440

Like
Likes
Like

Posted 29 November 1999 - 02:28 PM

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




#5 SnowMonster   Members   -  Reputation: 122

Like
Likes
Like

Posted 29 November 1999 - 04:33 PM

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.

#6 fprefect   Members   -  Reputation: 122

Like
Likes
Like

Posted 06 December 1999 - 04:28 PM

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.



#7 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Likes

Posted 06 December 1999 - 06:21 PM

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!





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS