Archived

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

aboeing

DirectShow: MP3 -> WAV

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
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