Merge "Fix gaps when playing high bitrate files" into mnc-dev
diff --git a/hal/audio_hw.c b/hal/audio_hw.c
index 74ed5aa..ddc308d 100644
--- a/hal/audio_hw.c
+++ b/hal/audio_hw.c
@@ -53,7 +53,8 @@
#include "sound/compress_params.h"
#define COMPRESS_OFFLOAD_FRAGMENT_SIZE (256 * 1024)
-#define COMPRESS_OFFLOAD_NUM_FRAGMENTS 2
+// 2 buffers causes problems with high bitrate files
+#define COMPRESS_OFFLOAD_NUM_FRAGMENTS 3
/* ToDo: Check and update a proper value in msec */
#define COMPRESS_OFFLOAD_PLAYBACK_LATENCY 96
#define COMPRESS_PLAYBACK_VOLUME_MAX 0x2000