Archived

This topic is now archived and is closed to further replies.

Smelly

I NEED BIG HELP WITH DIRECTX...

Recommended Posts

Smelly    122
How do I play .cda (music from cd''s) with Direct Sound? I would also like to play them from my harddrive instead of directly from the cd. If all this isn''t possible, then how do I play .mp3 files with Direct Sound? This is all because I am making a game and I want to use music from my cd''s but since I only know how to play .wav files, then I have to convert .cda -> .wav and they end up being like 15-20MB!! Way too huge. Any suggestions on how to play the music I want would be very helpful! Thanks!

Share this post


Link to post
Share on other sites
Nick Murphy    1604
Look at the mci functions in the Win32 API, since those are what you need; they''ll be fully described in your compiler''s on-line documentation. Also, on a side note regarding space issues, CD audio takes the same amount of storage space as a WAV file would. A big reason why people would use CDs over WAVs then is that playing CD music takes effectively no processor time (audio goes straight from your CD-ROM to your sound card).

-Nick

Share this post


Link to post
Share on other sites