From d4a7bf4f6a3501083f8fbb88d5356dd97a176c70 Mon Sep 17 00:00:00 2001 From: hogliux Date: Thu, 12 Nov 2015 18:17:06 +0000 Subject: [PATCH] Fix bug where low latency audio path is not detected correctly on Android --- modules/juce_audio_devices/native/juce_android_OpenSL.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/juce_audio_devices/native/juce_android_OpenSL.cpp b/modules/juce_audio_devices/native/juce_android_OpenSL.cpp index 514fa28192..e2e6f8340e 100644 --- a/modules/juce_audio_devices/native/juce_android_OpenSL.cpp +++ b/modules/juce_audio_devices/native/juce_android_OpenSL.cpp @@ -131,8 +131,8 @@ public: outputBuffer.setSize (jmax (1, numOutputChannels), actualBufferSize); outputBuffer.clear(); - const int audioBuffersToEnqueue = hasLowLatencyAudioPath ? buffersToEnqueueForLowLatency - : buffersToEnqueueSlowAudio; + const int audioBuffersToEnqueue = hasLowLatencyAudioPath() ? buffersToEnqueueForLowLatency + : buffersToEnqueueSlowAudio; DBG ("OpenSL: numInputChannels = " << numInputChannels << ", numOutputChannels = " << numOutputChannels