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

  • From: 鲁 燕清 <yanqinglu@xxxxxxxxxxx>
  • To: Eugene Muzychenko <reg.wad@xxxxxxxxxxxxxx>, 鲁 燕清 <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Mon, 3 Feb 2020 15:32:36 +0000

Hello Eugene,

What is the buffer size specified by the driver's client?
The buffer size specified by the driver's client is 3528 bytes, it's not big, 
seems it's not the root cause for 1 second delay.

Thanks and regards,
Bruce




________________________________
From: wdmaudiodev-bounce@xxxxxxxxxxxxx <wdmaudiodev-bounce@xxxxxxxxxxxxx> on 
behalf of Eugene Muzychenko <reg.wad@xxxxxxxxxxxxxx>
Sent: Monday, February 3, 2020 12:41 PM
To: 鲁 燕清 <wdmaudiodev@xxxxxxxxxxxxx>
Subject: [wdmaudiodev] Re: How to reduce latency of virtual microphone array

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: