[wdmaudiodev] Re: Sound jitter

  • From: "Wade Dawson" <dmarc-noreply@xxxxxxxxxxxxx> ("Wade.Dawson")
  • To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Thu, 23 Dec 2021 15:40:10 +0000

If you actually mean IRQL and not base priority, then please, do NOT do that. 
It could adversely affect the system and other drivers that are trying to play 
(audio) by the rules.  A few suggestions:
1).  Does the issue go away when you unplug the USB disk or does it remain 
distorted?
2. Add WPP logging and use a performance-counter based timer (or a custom ETL 
event) to log the interval between your processing callbacks so you can see if 
and when they’re getting delayed.
3. If your device is on the USB, try a port on a different controller if 
possible.
4.  If latency is not an issue, increase your buffer size so the (probable) 
starvation doesn’t happen.
 All “shots in the dark “ without more info.

Get Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: wdmaudiodev-bounce@xxxxxxxxxxxxx <wdmaudiodev-bounce@xxxxxxxxxxxxx> on 
behalf of Good Ball <dmarc-noreply@xxxxxxxxxxxxx>
Sent: Monday, December 20, 2021 8:47:40 PM
To: wdmaudiodev <wdmaudiodev@xxxxxxxxxxxxx>
Subject: [wdmaudiodev] Sound jitter

I am developing a audio driver. it can play audio.
but when I plug a USB disk, there is sound jitter.
I try to raise IRQL for system thread. but the noise still exist.

can you give some advices to fix this issue?

thanks in advance.


jimmy




Other related posts: