DirectShow: MP3 -> WAV

Started by
0 comments, last by aboeing 20 years, 6 months ago
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.
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

This topic is closed to new replies.

Advertisement