I NEED BIG HELP WITH DIRECTX...

Started by
0 comments, last by Smelly 24 years, 2 months ago
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!
Advertisement
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

This topic is closed to new replies.

Advertisement