Jump to content

View more

Image of the Day

Boxes as reward for our ranking mode. ヾ(☆▽☆)
#indiedev #gamedev #gameart #screenshotsaturday https://t.co/ALF1InmM7K
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

How do you play audio from an audio CD?

4: Adsense

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   

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.

#2 Anonymous Poster_Anonymous Poster_*   Guests   

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   

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   

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   

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   

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   

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.