mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-06-02 09:01:23 +02:00
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:
parent
c0caea1ffd
commit
1ab35797b1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue