hal: Add support for haptics audio usecase
Add support to create haptics and audio pcm streams for
haptic audio usecase. Separate haptic and audio data from
audio buffer and write it to respective pcm streams.
Bug: 112439981
Test: make
Change-Id: Id59179461edf695fd4794c51426e6fcae6c2e8dc
diff --git a/hal/msm8916/platform.c b/hal/msm8916/platform.c
index 7d35ff5..533cf6a 100644
--- a/hal/msm8916/platform.c
+++ b/hal/msm8916/platform.c
@@ -1401,6 +1401,11 @@
return device_id;
}
+int platform_get_haptics_pcm_device_id()
+{
+ return -1;
+}
+
static int find_index(struct name_to_index * table, int32_t len, const char * name)
{
int ret = 0;