Reduce PCM buffer size for Android to avoid stalls

This commit is contained in:
raysan5 2016-04-17 14:48:20 +02:00
parent 17eefed08f
commit 9639b14e1b
1 changed files with 2 additions and 2 deletions

View File

@ -57,8 +57,8 @@
//----------------------------------------------------------------------------------
#define MUSIC_STREAM_BUFFERS 2
#if defined(PLATFORM_RPI)
// NOTE: On RPI should be lower to avoid frame-stalls
#if defined(PLATFORM_RPI) || defined(PLATFORM_ANDROID)
// NOTE: On RPI and Android should be lower to avoid frame-stalls
#define MUSIC_BUFFER_SIZE 4096*2 // PCM data buffer (short) - 16Kb (RPI)
#else
// NOTE: On HTML5 (emscripten) this is allocated on heap, by default it's only 16MB!...just take care...