From cb215d3190971bc7a9343dc136d8ed25efcd7f21 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Tue, 7 Aug 2018 11:49:56 -0300 Subject: [PATCH] Set audio buffer size to 20 ms for android CALLBACK_ACCELERATOR_RATIO = 0.5 --- libraries/audio-client/src/AudioClient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/audio-client/src/AudioClient.cpp b/libraries/audio-client/src/AudioClient.cpp index c6c6463cef..6ac30e7f73 100644 --- a/libraries/audio-client/src/AudioClient.cpp +++ b/libraries/audio-client/src/AudioClient.cpp @@ -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