summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUday Kishore Pasupuleti <upasupul@codeaurora.org>2015-04-16 08:52:37 -0700
committerPrashant Malani <pmalani@google.com>2015-07-07 15:33:11 -0700
commit45849f6968a68593f61bd9dc71b91fa1c7dc6ad1 (patch)
treedff96a07e06ee4d0f0f244bda17a5c6063c12b4a
parent409dd56a15d092f15092de1452677f738c086621 (diff)
downloadhardware_qcom_audio-45849f6968a68593f61bd9dc71b91fa1c7dc6ad1.tar.gz
hardware_qcom_audio-45849f6968a68593f61bd9dc71b91fa1c7dc6ad1.tar.bz2
hardware_qcom_audio-45849f6968a68593f61bd9dc71b91fa1c7dc6ad1.zip
Add voice call support for msm8x26 target
Update platform file to enable voice calls These changes are already part of Qualcomm's initial HAL audio release but were stripped off Change-Id: I357969f0aca6e150bb95acb1b25d587615b0f375 Signed-off-by: Uday Kishore Pasupuleti <upasupul@codeaurora.org>
-rw-r--r--hal/msm8974/platform.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/hal/msm8974/platform.h b/hal/msm8974/platform.h
index 43e6be38..25b24d19 100644
--- a/hal/msm8974/platform.h
+++ b/hal/msm8974/platform.h
@@ -183,11 +183,25 @@ enum {
#define LOWLATENCY_PCM_DEVICE 15
#define VOICE_VSID 0x10C01000
+#ifdef PLATFORM_MSM8x26
+#define VOICE_CALL_PCM_DEVICE 2
+#define VOICE2_CALL_PCM_DEVICE 14
+#define VOLTE_CALL_PCM_DEVICE 17
+#define QCHAT_CALL_PCM_DEVICE 18
+#define VOWLAN_CALL_PCM_DEVICE 30
+#elif PLATFORM_MSM8084
+#define VOICE_CALL_PCM_DEVICE 20
+#define VOICE2_CALL_PCM_DEVICE 25
+#define VOLTE_CALL_PCM_DEVICE 21
+#define QCHAT_CALL_PCM_DEVICE 33
+#define VOWLAN_CALL_PCM_DEVICE -1
+#else
#define VOICE_CALL_PCM_DEVICE 2
#define VOICE2_CALL_PCM_DEVICE 22
#define VOLTE_CALL_PCM_DEVICE 14
#define QCHAT_CALL_PCM_DEVICE 20
#define VOWLAN_CALL_PCM_DEVICE 36
+#endif
#define AFE_PROXY_PLAYBACK_PCM_DEVICE 7
#define AFE_PROXY_RECORD_PCM_DEVICE 8