I'm implementing a virtual microphone driver based on sysvad with the internal
I wrote a ring buffer, my Application pushs PCM data to the ring buffer via
custom property handle, and the CMiniportWaveRTStream::WriteBytes reads audio
data from the RingBuffer. When I use the Graphedt to test the virtual
microphone, there is about 1 second latency.
I defined the size of ring buffer with: (nAvgBytesPerSec * 500) / 1000,
nAvgBytesPerSec is 44100.
What caused the latency? Is there any method to reduce latency?