Is there any smart way to obtain the buffer size in samples in a precise way?
For the capture device and the render device. I've tried mmDevice.AudioClient.BufferSize
after calling StartRecording()
but it doesn't seem to contain a proper value but threw an exception.