[wdmaudiodev] Re: AVStream virtual audio driver: different sound quality dependently on the number of CPU cores.

  • From: "Matthew van Eerde" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "Matthew.van.Eerde" for DMARC)
  • To: Alexander Ivash <elderorb@xxxxxxxxx>, "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Thu, 21 Jul 2016 14:37:49 +0000

Race condition which is mitigated in the one-CPU case by only having a single 
active thread at a time?



From: Alexander Ivash<mailto:elderorb@xxxxxxxxx>
Sent: Thursday, July 21, 2016 3:31 AM
To: wdmaudiodev@xxxxxxxxxxxxx<mailto:wdmaudiodev@xxxxxxxxxxxxx>
Subject: [wdmaudiodev] AVStream virtual audio driver: different sound quality 
dependently on the number of CPU cores.



What could be the reason for the following behaviour:

On one Windows 7 x64 VM (with 1 CPU) driver works fine (well, with
rare audio artifacts)
On the SAME VM but with 2 CPUs driver works awfully, sound is heavily distorted.

Behaviour seems to not depend (or influence is very low) on using

KSPIN_FLAG_INITIATE_PROCESSING_ON_EVERY_ARRIVAL or
KSPIN_FLAG_ASYNCHRONOUS_PROCESSING

What other things can I check?

Regards, Alexander
******************

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: