diff options
author | Eric Laurent <elaurent@google.com> | 2014-09-11 09:59:28 -0700 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2014-09-11 09:59:28 -0700 |
commit | 1b0d8ce4ec97a57b38a401dbd1e16ac5cf4c4671 (patch) | |
tree | 56c6614fcc3e76fa81a61ac87cc3e8c6740f0d39 /hal/msm8974/platform.h | |
parent | 7aec9d7b2159c9caa599340e8b5996187ba8cb92 (diff) | |
download | hardware_qcom_audio-1b0d8ce4ec97a57b38a401dbd1e16ac5cf4c4671.tar.gz hardware_qcom_audio-1b0d8ce4ec97a57b38a401dbd1e16ac5cf4c4671.tar.bz2 hardware_qcom_audio-1b0d8ce4ec97a57b38a401dbd1e16ac5cf4c4671.zip |
hal: Support "safe speaker" on msm8974 platform
Used for limited-loudness use cases
Bug: 17319721
Change-Id: I31c4b21e593b9d69bc0e1a81bb46f6201ffe0d7d
Diffstat (limited to 'hal/msm8974/platform.h')
-rw-r--r-- | hal/msm8974/platform.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hal/msm8974/platform.h b/hal/msm8974/platform.h index 0f4e6bfc..59f48e09 100644 --- a/hal/msm8974/platform.h +++ b/hal/msm8974/platform.h @@ -24,6 +24,7 @@ */ #define AUDIO_DEVICE_OUT_ALL_CODEC_BACKEND \ (AUDIO_DEVICE_OUT_EARPIECE | AUDIO_DEVICE_OUT_SPEAKER | \ + AUDIO_DEVICE_OUT_SPEAKER_SAFE | \ AUDIO_DEVICE_OUT_WIRED_HEADSET | AUDIO_DEVICE_OUT_WIRED_HEADPHONE) /* Sound devices specific to the platform @@ -39,6 +40,7 @@ enum { SND_DEVICE_OUT_HANDSET = SND_DEVICE_OUT_BEGIN, SND_DEVICE_OUT_SPEAKER, SND_DEVICE_OUT_SPEAKER_REVERSE, + SND_DEVICE_OUT_SPEAKER_SAFE, SND_DEVICE_OUT_HEADPHONES, SND_DEVICE_OUT_LINE, SND_DEVICE_OUT_SPEAKER_AND_HEADPHONES, |