Jump to content
  • Advertisement

Archived

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

aboeing

DirectShow: MP3 -> WAV

This topic is 5458 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I am trying to convert a mp3 to a wav file using directshow. From the examples it implies that I need to use a wavdest filter [AddFilterByCLSID(pGraph, CLSID_WavDest, L"WavDest", &pWavDest);] but this wont compile: C:\dev\engine\mp3play\mp3.cpp(122) : error C2065: ''CLSID_WavDest'' : undeclared identifier Does anyone know what to do? (article I refer to is "Creating an Audio Capture Graph" DirectShow->Using DirectShow->Audio Capture->Creating an Audio Capture Graph) Thanks.

Share this post


Link to post
Share on other sites
Advertisement
For future reference, you need to build these filters yourself, they are in the DXSDK\samples\C++\DirectShow\Filters\WavDest directory, and you need to register(RegSvr32) the resulting .ax

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!