• Advertisement

Archived

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

DirectShow: MP3 -> WAV

This topic is 5240 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