[wdmaudiodev] Comunicating with another filter
- From: Antonio GÃmez Muriana <senco@xxxxxxxxxxxxxx>
- To: Lista WDM Audo Dev <wdmaudiodev@xxxxxxxxxxxxx>
- Date: Thu, 10 Nov 2005 13:19:04 +0100
Hi!
I want to make a virtual driver that can send the sound to other
device, but I don't know how to discover and instantiate a pin of
another device. I have two ideas, but I have no idea on how to implement it:
A) Create a source pin and connect it to the sink pin of the other
device. But in the Port Class API there is no way to make a source pin.
Can it be possible?
B) Port the DirectKS example to kernel mode and use it to send the data
but... SetupAPI is availible from kernel mode?
I started with the MSVAD Simple as a base which uses a WaveCyclic
MiniPort implementation. Is it right or I have to write the complete
filter from myself?
Also I want to send several streams at the time, so I think that I have
to send them to KMixer and connect it to the Render pin of the other device.
Best regards,
PS: I have bought a book from Walter Oney about WDM programming, but
sadly it haven't any section about Kernel Streaming. :( Did you know a
good tutorial of Kernel Streaming filter creation?
******************
WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator: mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx
URL to WDMAUDIODEV page:
http://www.wdmaudiodev.com/
Other related posts:
- » [wdmaudiodev] Comunicating with another filter