[wdmaudiodev] Re: Audio filter graph pin factories for a virtual audio (playback only) driver.
- From: Tim Roberts <timr@xxxxxxxxx>
- To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
- Date: Fri, 26 Aug 2016 09:48:17 -0700
Matthieu Collette wrote:
So far, it works as expected but I would like to make some changes to
the MSVAD audio filter graph to have something more related to what my
application is in charge of : audio playback only.
I guess I have to make a few changes to the WaveCyclic filter and get
rid of the capture pins and their connections to the ADC. It would let
me with a WaveCyclic filter with a sink pin, connected to a DAC,
connected to a source pin. If this I am correct and assuming that I
want to get audio data from any applications running in user space,
what kind of sink pin should I use, a bridge one ? Which one ?
I have almost the same questions for the topology filter. Assuming its
input pin is connected to the WaveCyclic filter source pin, which one
should I use ? As I don't want the audio playback to be sent to the
speakers while my virtual audio device is selected, which topology
source pin should I use ?
The sample has two completely independent pairs of pins: a streaming
pin and a bridge pin for wave In, and a streaming pin and bridge pin for
wave Out All you should need to do is remove the pins for wave In (and
the corresponding nodes and connection descriptors).
The bridge does not cross the streams. The internal topology for each
side has a real node that receives streaming data, and a "fake" node
that would, in a normal device, represent the DAC to the speakers. That
fake node is used for configuration and does not carry any data.
Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
URL to WDMAUDIODEV page:
Other related posts: