Need alittle music help.
Okay, So I am sitting next to my bible (Tricks of the Window Game Programming Gurus by Lamothe) and I can''t for the live of me figure out how to use a Mp3 file instead of a MIDI or WAV in my engine. It can obviously be done since alot of new games use Mp3 for ingame music. Any suggestions?
CP
Need to decode the mp3 into a wave stream and send it out the playbuffer of the sound card.
Find an open source mp3 player and see how they do it.
Magmai Kai Holmlor
- The disgruntled & disillusioned
Find an open source mp3 player and see how they do it.
Magmai Kai Holmlor
- The disgruntled & disillusioned
- The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara
For MP3s it''s best to use a library instead of writing the decoder yourself. You can use MS DirectShow, FMOD, Bass, xaudio and a number of other audio file libraries (most of the available for free.)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement