[wdmaudiodev] Re: Queries on Virtual Audio Driver

  • From: "Jeff Pages" <jeff@xxxxxxxxxxxxxxxx>
  • To: <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Thu, 18 Aug 2005 09:15:19 +1000

I think the kernel mixer always expands the audio data to the maximum bit depth 
and channel count that the driver supports.

Jeff
  ----- Original Message ----- 
  From: preeti rubdi 
  To: wdmaudiodev@xxxxxxxxxxxxx 
  Sent: Wednesday, August 17, 2005 7:41 PM
  Subject: [wdmaudiodev] Queries on Virtual Audio Driver


  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: