Welcome to the Music and Sound forum on GD.net. Pull up a chair, listen to some tracks by your peers and discuss all things music and sound. We're happy to have you. Please check out the FAQ link for some basic (and mostly common sense) approaches used in this forum. If you have any questions, feel free to PM me.
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!
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).