Skip to main content
gamedev.net
🔒 Locked

mp3

Started by walkingcarcass 0 replies 250+ views
Original Post
walkingcarcass
walkingcarcass
If I want to put an mp3 encoded sound in a buffer, I expect the first step is to set wFormatTag of WAVEFORMATEX to WAVE_FORMAT_MPEGLAYER3=0x0055 How do I read data from an mp3 file and chose values for SamplesPerSec etc? Will the mp3 be decoded in hardware if available? ******** A Problem Worthy of Attack Proves It''s Worth by Fighting Back
spraff.net: don't laugh, I'm still just starting...
Metus
Metus
hmm.. i don''t think that''ll work.. you have to decode the mp3 file yourself and then manually copy the raw audio data into your soundbuffer
Ethereal

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.