[wdmaudiodev] Queries on Virtual Audio Driver

  • From: preeti rubdi <prubdi@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Wed, 17 Aug 2005 02:41:06 -0700 (PDT)

Hi,
 
Im new to audio driver developemnt. I have to write a virtual Audio 
Driver,which at its lower edge, will stream audio over a wireless transport to 
a remote sink.The driver is for Win2000 and WinXP platforms.
 
I started with the MSVAD(simple) sample in the XP DDK.I have a few queries.
1)Am I right in starting with MSVAD as the base. ie implementing 
IMiniportWaveCyclic interface instead of IMiniportWavePci.
 
2)In the MSVAD sample,SetFormat() indicates nChannels = 2 and wBitsPerSample = 
16 ,regardless of the file that is played by the application.Thus the Frame 
size is the same for all .wav  files of a particular sampling frequency. 
Ideally , for an interval of 10 msec,I should get a frame of 640 bytes for  a 
16khz, 16bit, stereo file and 320bytes for a 16khz, 16bit, mono file? How do i 
do this? 
 
Would really appreciate help on this.
Thanks,
Preeti.

                
---------------------------------
Do you Yahoo!?
 Yahoo! Mail - Find what you need with new enhanced search. Learn more.

Other related posts: