Author: samkol649samkol649 Date: Sep 12, 2008 14:34
Hi all,
I have posted similar question in directshow group, but since my
problem is related more to audio, I decided to post it here instead. I
do apologize if this makes some of you feel inconvenient.
With the help from many good guys in directshow group, I know how to
write a custom source filter that I can use internally (without
register DLL).
I am developing an application for Windows Mobile 5 Pocket PC using
DirectShow.
I have a question:
I create a custom source filter based on IBaseFilter and
IBaseOutputPin. I can initialize the Graph Builder Manager and add the
filter. However, when I call IGraphBuilder::Render() on my output pin,
the application never returns from the function. Using debugger, I
realize that the application keeps on calling
IBaseOutputPin::GetMediaType(). Below is my graph diagram:
////// Audio Source Stream --> Source Filter --> Audio
Renderer //////
|