Drastically reduce the audio capture buffering on Windows.

With device detection on another thread and WASAPI back-end, the large capture buffer (resulting from CALLBACK_ACCELERATOR_RATIO) is no longer needed.
This commit is contained in:
Ken Cooke 2016-08-25 16:09:25 -07:00
parent c0caea1ffd
commit 1ab35797b1

View file

@ -1265,7 +1265,7 @@ int AudioClient::setOutputBufferSize(int numFrames, bool persist) {
// proportional to the accelerator ratio. // proportional to the accelerator ratio.
#ifdef Q_OS_WIN #ifdef Q_OS_WIN
const float AudioClient::CALLBACK_ACCELERATOR_RATIO = 0.1f; const float AudioClient::CALLBACK_ACCELERATOR_RATIO = 1.0f;
#endif #endif
#ifdef Q_OS_MAC #ifdef Q_OS_MAC