Re: Replace default audio renderer in Dshow video Graph ? C++

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



The March Hare [MVP] wrote:

> Approach 1: You can use intelligent connect to build
> your graph which will use the Default DirectSound Device
> (see quote below). Then you can remove the default audio
> filter from the graph by disconnecting its input pin and
> removing it from the graph.
>
> Approach 2: Build your graph manually.

Approach 3: add the chosen audio renderer to the graph
*before* RenderFile() so that intelligent connect will (at
least should) pick the already added one instead of using
the default device.

--

// Alessandro Angeli
// MVP :: Digital Media
// a dot angeli at psynet dot net


.



Relevant Pages

  • Re: Re: filtergraph: divx-encoding
    ... You say that you can't connect the filters, ... the graph is the same graph I would have built. ... -- // Alessandro Angeli ... // a dot angeli at psynet dot net ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: panel changes slow
    ... rebuilding the graph in a very inefficient manner over and ... // Alessandro Angeli ... // a dot angeli at psynet dot net ...
    (microsoft.public.windowsmedia.encoder)
  • Re: IFilterGraph::RemoveFilter
    ... with topic 'Remove All the Filters in the Graph'. ... -- // Alessandro Angeli ... // a dot angeli at psynet dot net ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Deleting source file when graph is running
    ... > The instantiated but rejected filters are cached rather ... but they are not in the graph. ... // Alessandro Angeli ... // a dot angeli at psynet dot net ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: The same question again: how to get ALL frames from a video
    ... > is as soon as the grabber can ... But it also imply that the graph will not try to stream ... -- // Alessandro Angeli ... // a dot angeli at psynet dot net ...
    (microsoft.public.win32.programmer.directx.video)