diff options
author | Jon Eklund <jeklund@motorola.com> | 2014-06-23 15:30:15 -0500 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2014-09-10 15:52:45 -0700 |
commit | 4933ff67b2a41e6cefce7cfa3f9aa07389af092e (patch) | |
tree | 56c6614fcc3e76fa81a61ac87cc3e8c6740f0d39 /hal/msm8974/platform.h | |
parent | 0499d4fc40cafb9fbb0e8eace1657cfaf79c5699 (diff) | |
download | hardware_qcom_audio-4933ff67b2a41e6cefce7cfa3f9aa07389af092e.tar.gz hardware_qcom_audio-4933ff67b2a41e6cefce7cfa3f9aa07389af092e.tar.bz2 hardware_qcom_audio-4933ff67b2a41e6cefce7cfa3f9aa07389af092e.zip |
hal: Support "safe speaker" on msm8974 platform
Used for limited-loudness use cases
Bug: 17319721
Change-Id: I408b32428b4af08c7a78682f51e0563167a1d3ef
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, |