I would like to add a virtual microphone (similar to how you can have a virual CD drive and then mount ISO files on it.) so that it can be selectable in programs like MSN and skype. But have the source of the audio be streamed from over a network(I know how to stream the audio over the network in VB.net) but how do I get that audio which has been streamed as the input to the virtual microphone?
Jonathan
You can adapt the AVStream Filter-Centric Simulated Capture Driver WDK Sample from MSDN, dropping video support (image.cpp
, video.cpp
etc.) and altering the audio capture pin implementation to provide audio from the network instead of the sample wave file.
Alternatively, you can take a look at the Microsoft Virtual Audio Device (MSVAD) Sample Drivers from MSDN, implemented as a port-class driver (as opposed to the AVStream driver above.)
It is also possible to write a DirectShow source filter and register it as if it corresponded to an audio capture device.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With