Set audio buffer size to 20 ms for android

CALLBACK_ACCELERATOR_RATIO = 0.5
This commit is contained in:
Gabriel 2018-08-07 11:49:56 -03:00 committed by GitHub
parent 5bb9accd30
commit cb215d3190
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1850,7 +1850,7 @@ const float AudioClient::CALLBACK_ACCELERATOR_RATIO = 2.0f;
#endif
#ifdef Q_OS_ANDROID
const float AudioClient::CALLBACK_ACCELERATOR_RATIO = 1.0f;
const float AudioClient::CALLBACK_ACCELERATOR_RATIO = 0.5f;
#elif defined(Q_OS_LINUX)
const float AudioClient::CALLBACK_ACCELERATOR_RATIO = 2.0f;
#endif