[wdmaudiodev] Audio filter graph pin factories for a virtual audio (playback only) driver.

  • From: Matthieu Collette <matthieu.collette@xxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Fri, 26 Aug 2016 12:07:34 +0200

Hi everyone,

Based on the famous MSVAD sample, I developped a virtual audio driver which
gets audio data and sends it from kernel to user space where an application
of mine wraps the audio data and sends it over a network.

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 ?

Thanks in advance for any help !

Matthieu

Other related posts: