am 3910f53c: Merge "bootanimation: Tweak parameters for pcm_open for playing boot sounds." into lmp-dev

* commit '3910f53c5ebccbe64ab768591dc7c377f1eb0153':
  bootanimation: Tweak parameters for pcm_open for playing boot sounds.
diff --git a/cmds/bootanimation/AudioPlayer.cpp b/cmds/bootanimation/AudioPlayer.cpp
index a2ee7ea..471b77f 100644
--- a/cmds/bootanimation/AudioPlayer.cpp
+++ b/cmds/bootanimation/AudioPlayer.cpp
@@ -272,6 +272,9 @@
     config.rate = chunkFmt->sample_rate;
     config.period_size = mPeriodSize;
     config.period_count = mPeriodCount;
+    config.start_threshold = mPeriodSize / 4;
+    config.stop_threshold = INT_MAX;
+    config.avail_min = config.start_threshold;
     if (chunkFmt->bits_per_sample != 16) {
         ALOGE("only 16 bit WAV files are supported");
         goto exit;