[wdmaudiodev] Re: How to reduce latency of virtual microphone array

  • From: Eugene Muzychenko <reg.wad@xxxxxxxxxxxxxx>
  • To: 鲁 燕清 <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Mon, 3 Feb 2020 13:41:52 +0100

Hello 鲁,

When I use the Graphedt to test the virtual microphone, there is about 1 
second latency.

However DirectShow wrappers may use relatively large buffering (dozens or even
hundreds of milliseconds), one-second latency is definitely too high.

I defined the size of ring buffer with: (nAvgBytesPerSec * 500)  / 1000, 
nAvgBytesPerSec is 44100.

What is the buffer size specified by the driver's client?

Regards,
Eugene

******************

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: