audio: enable audio using tinyalsa on MSM8974
Change-Id: I003dedd9f29de5aec1b620442aa8b3c3c7b7a816
diff --git a/hal/audio_hw.h b/hal/audio_hw.h
index 0ac03fa..0733e71 100644
--- a/hal/audio_hw.h
+++ b/hal/audio_hw.h
@@ -129,10 +129,18 @@
* We should take care of returning proper size when AudioFlinger queries for
* the buffer size of an input/output stream
*/
+#ifdef MSM8974
+#define DEEP_BUFFER_OUTPUT_PERIOD_SIZE 1024
+#else
#define DEEP_BUFFER_OUTPUT_PERIOD_SIZE 960
+#endif
#define DEEP_BUFFER_OUTPUT_PERIOD_COUNT 8
+#ifdef MSM8974
+#define LOW_LATENCY_OUTPUT_PERIOD_SIZE 256
+#else
#define LOW_LATENCY_OUTPUT_PERIOD_SIZE 240
+#endif
#define LOW_LATENCY_OUTPUT_PERIOD_COUNT 2
#define HDMI_MULTI_PERIOD_SIZE 336