[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:39:41 +0000
Hello Eugene,
I used the "Default DirectSound Device" filter of DirectShow to test my virtual
microphone output. Maybe you are right, the DirectShow Filters use large
buffering, I will use WASAPI to test virtual microphone latency.
Thanks and regards
________________________________
From: 鲁 燕清 <yanqinglu@xxxxxxxxxxx>
Sent: Monday, February 3, 2020 3:32 PM
To: Eugene Muzychenko <reg.wad@xxxxxxxxxxxxxx>; 鲁 燕清 <wdmaudiodev@xxxxxxxxxxxxx>
Subject: Re: [wdmaudiodev] Re: How to reduce latency of virtual microphone array
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: