[wdmaudiodev] Different time between calls of CopyXXX

  • From: Igor Galchuk <ingvio@xxxxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Sat, 23 May 2009 01:05:36 +0700

Hi, All! I wrote miniport driver (base on MSVAD example).
I can play and record 24-bit sound at frequencies 8-192kHz.
But I have problem.
I play and record sound with good quality on my home PC
(Celeron 633MHz with Win2000-SP4 and WinXP-SP2),
but bad quality on my work PC (Core2Duo 2x1.86GHz with same
Windows versions) - my driver send and recieve data (to and from device)
with frequencies less than necessary (for example, ~112kHz instead of 192kHz)!
I find, what CopyTo and CopyFrom functions is called each 10 ms
(100144x100ns units) on my home PC and each 15 ms (156250x100ns units)
on my work PC! May be this is reason of my problem? Oh, I used 
KeQueryInterruptTime to measure these time values.
So, I have 2 questions:
What is right time value? How can I change this time?

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


Other related posts: