Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Virtual microphone, networks and vb.net

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

like image 942
Jonathan. Avatar asked Oct 26 '22 18:10

Jonathan.


1 Answers

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.

like image 101
vladr Avatar answered Nov 02 '22 19:11

vladr