I've done this, but it's not trivial. Essentially you need to use KsCreatePin to attach to the sound card's rendering pin, and then pass the audio data to it when you get an IOCTL_KS_WRITE_STREAM. If, as you said, you're a newbie to driver development (and, I assume, kernel streaming in particular), I really wouldn't recommend this approach because there are a LOT of non-trivial details. Would a filter driver for the already-existing audio driver work instead? Jeff -----Original Message----- From: admin@xxxxxxxxxxxxxxxxx [mailto:admin@xxxxxxxxxxxxxxxxx] Sent: Monday, May 10, 2004 7:45 PM To: wdmaudiodev@xxxxxxxxxxxxx Subject: [wdmaudiodev] Re: help with virtual audio driver. Thanks for the reply. Actually I want to make it a virtual audio driver. It don't need a specific hardware. It uses the sound card to play or record. But it acts like a true audio device there. So apps that use it can work normally, but I can have control on the data stream in this driver now. I have looked at MSVAD driver in WINXP DDK. It writes the data to disk. I wonder how to send the data to another true sourd device at the same time. > If your driver is writing to the actual sound card, then how can you call that as virtual audio > driver > ? If you want a sample of real aduio driver then, micro soft provides ac97 sources. > > -Esha > > admin@xxxxxxxxxxxxxxxxx wrote: > >> Hi, All: >> >> I am newbie in driver developing. >> I want to implement a virtual audio driver working under win9x and nt base system such as >> win2000, >> windows xp. >> >> 1. Can the msvad example in XP ddk be used in win9x? It seems to be a wdm driver. >> >> 2. The virtual driver need to be transparent, it will send the data to an actural sound card. >> How can I do this in the driver? >> >> Thanks >> >> ****************** >> >> 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.de/ > > ****************** > > 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.de/ > > ****************** 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.de/