How can I directly embed a DirectShow Push Source filter in an EXE?

前端 未结 2 1958
情歌与酒
情歌与酒 2021-01-23 01:46

I have a Delphi 6 program that receives audio from an external program via a socket. Now I want to feed that audio to a DirectShow filter graph I create that routes that audio

2条回答
  •  醉梦人生
    2021-01-23 02:42

    I think the only reason to put your filters in a DLL is to be able to use them in multiple programs. On the other hand, if you were to put your filters into a DLL you could always have them implement an inferface that you QI for when you need it.

    In my work, I had to play movies that were stored within a proprietary archive file. I made a source that had an output pin that described its media format properly, and the rest worked automatically, if I wanted it to. I also needed to use a proprietary renderer for the video. All this stuff was built into the .exe which was written in C++

提交回复
热议问题