[wdmaudiodev] timing issues in msvad

  • From: mudeem siddiqui <mudeem@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Thu, 15 Dec 2005 17:51:32 -0800 (PST)

  I am working on a virtual audio driver. I am using msdev from windows  DDK 
and building my drivier from that. The problem I am facing is that  somehow 
after very some time I don't get the number of samples expected  in that time 
frame. The default Interval set is that of 10 ms in the  SetNotificationFreq 
function. Using 10 ms interval, in the CopyTo  function I get 40 ms worth of 
data i.e 3528 bytes in 42 ms. If I  increase the Interval the resolution 
becomes better. So I increaed the  Interval to 40 ms. Now what happens is after 
40 ms CopyTo function is  called 4 times giving me 882 bytes in each call (that 
I don't  understand as well why it does not give me 3528 bytes in one call) And 
 every so often after 40 ms it makes 3 calls instead of 4 calls to  CopyTo 
function and gives 882 bytes in each call.. So I am short of 882  bytes if data 
in that time interval. 
  In short I would like to get 3528 bytes in 40 ms but I am not getting  
that... Any idea why this would be happening? And can anyone give me  some 
insight into how GetPosition, CopyTo fucntion and the notify  functions are 

Yahoo! Shopping
 Find Great Deals on Holiday Gifts at Yahoo! Shopping 

Other related posts:

  • » [wdmaudiodev] timing issues in msvad