[wdmaudiodev] Skips in output using MSVAD

  • From: Nathan Rickey <nate.sd@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Fri, 1 May 2020 09:26:47 -0700

Hi,
I have used the MSVAD sample to create a virtual audio device.
I have slightly modified the sample to only support 48kHz, and it seems to
be working as expected when using Chrome to play audio to the virtual
output device.
However, when playing to the MSVAD output device using Microsoft apps like
Media Player, Groove Music, Edge, etc, it appears that input into my
virtual driver is not keeping up with real time. Instead of receiving new
data every 20ms, data is received on average every 21ms. This overall delay
causes audio dropout whenever the buffer is sufficiently drained.
Has anyone seen issues with CMiniportWaveCyclicStreamMSVAD::CopyTo() not
being called consistently for some apps?
What is the difference between what apps like Chrome do vs apps like Groove
to cause this difference in behavior?
Is there something I can do within my driver to force all apps behave
similarly to Chrome?

Thanks,
Nathan

Other related posts:

  • » [wdmaudiodev] Skips in output using MSVAD - Nathan Rickey