Archived

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

suzuki

how to decode mp3 to DirectSound buffer

Recommended Posts

MSDN mentions that "use the audio compression manager (ACM) functions... to convert compressed audio to PCM format before writing the data to a sound buffer"..

but i just cannot figure out how to use the ACM functions?

can anyone post some source code or examples??
thanks~~_~~

Share this post


Link to post
Share on other sites
AFAIK there''s simply no support for mp3 compression built in DirectSound. You gotta decompress that yourself. DirectSound just provides buffer playback (put simply), you even have to decode wav-files yourself.

Share this post


Link to post
Share on other sites