1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-27 02:20:05 +00:00

Doubled the default number of Android OpenSL buffers to avoid glitches on a wider range of devices by default

This commit is contained in:
hogliux 2017-03-10 12:09:13 +00:00
parent 89a53dbf89
commit f506cc7f5d

View file

@ -972,8 +972,8 @@ private:
{
// The number of buffers to enqueue needs to be at least two for the audio to use the low-latency
// audio path (see "Performance" section in ndk/docs/Additional_library_docs/opensles/index.html)
buffersToEnqueueForLowLatency = 2,
buffersToEnqueueSlowAudio = 4,
buffersToEnqueueForLowLatency = 4,
buffersToEnqueueSlowAudio = 8,
defaultBufferSizeIsMultipleOfNative = 1
};