[wdmaudiodev] Re: Different time between calls of CopyXXX

  • From: "Markus Bollinger" <bollinger@xxxxxxxxxxxx>
  • To: <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Mon, 25 May 2009 09:00:06 +0200

Call ExSetTimerResolution(20000, TRUE) in your stream object if you want to get 
better results with a 10 ms timer.
Don't forget to call ExSetTimerResolution(0, FALSE) in the destructor.

Markus.


> -----Message d'origine-----
> De : wdmaudiodev-bounce@xxxxxxxxxxxxx 
> [mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] De la part de Igor Galchuk
> Envoyé : vendredi 22 mai 2009 20:06
> À : wdmaudiodev@xxxxxxxxxxxxx
> Objet : [wdmaudiodev] Different time between calls of CopyXXX
> 
> 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?
> 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.com/
> 
> 
******************

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.com/

Other related posts: