summaryrefslogtreecommitdiffstats
path: root/hal/msm8974/platform.h
diff options
context:
space:
mode:
authorRavi Kumar Alamanda <ralama@codeaurora.org>2015-06-08 00:35:57 -0700
committerEric Laurent <elaurent@google.com>2015-07-07 17:18:03 -0700
commit3b86d472a707dd29cd692909fc80cf45a8fec481 (patch)
tree68940b336687b344ec9a5fd156b8c240da32b0fa /hal/msm8974/platform.h
parent5ffa83a563efc189e37c8d7eb0e23d93a1a2ab4b (diff)
downloadhardware_qcom_audio-3b86d472a707dd29cd692909fc80cf45a8fec481.tar.gz
hardware_qcom_audio-3b86d472a707dd29cd692909fc80cf45a8fec481.tar.bz2
hardware_qcom_audio-3b86d472a707dd29cd692909fc80cf45a8fec481.zip
hal: add speaker-safe headphones/line combo devices
Update audio HAL to handle speaker-safe-and-headphones and speaker-safe-and-line combo devices. Bug: 21537010. Change-Id: I49644e0b46c504f42a913839c7cbe115fd2a408e
Diffstat (limited to 'hal/msm8974/platform.h')
-rw-r--r--hal/msm8974/platform.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hal/msm8974/platform.h b/hal/msm8974/platform.h
index 43e6be38..f1c52399 100644
--- a/hal/msm8974/platform.h
+++ b/hal/msm8974/platform.h
@@ -45,7 +45,9 @@ enum {
SND_DEVICE_OUT_HEADPHONES,
SND_DEVICE_OUT_LINE,
SND_DEVICE_OUT_SPEAKER_AND_HEADPHONES,
+ SND_DEVICE_OUT_SPEAKER_SAFE_AND_HEADPHONES,
SND_DEVICE_OUT_SPEAKER_AND_LINE,
+ SND_DEVICE_OUT_SPEAKER_SAFE_AND_LINE,
SND_DEVICE_OUT_VOICE_HANDSET,
SND_DEVICE_OUT_VOICE_SPEAKER,
SND_DEVICE_OUT_VOICE_HEADPHONES,