diff options
author | Jon Eklund <jeklund@motorola.com> | 2014-06-20 16:03:18 -0500 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2014-09-10 15:51:48 -0700 |
commit | fcfa86403e206e2caa519299939480cb45deb8ba (patch) | |
tree | b8c6feb53ba4094c71918922de1a3a73f03e5d17 /include/system | |
parent | 4d1365b4d3a1b3f904eb5900be8b5269a8807511 (diff) | |
download | system_core-fcfa86403e206e2caa519299939480cb45deb8ba.zip system_core-fcfa86403e206e2caa519299939480cb45deb8ba.tar.gz system_core-fcfa86403e206e2caa519299939480cb45deb8ba.tar.bz2 |
audio.h: Add "safe speaker" device for limited-loudness use cases
Bug: 17319721
Change-Id: Ie1af5b73258f8a0009c3bc3cecb3e0e8b2262ed7
Diffstat (limited to 'include/system')
-rw-r--r-- | include/system/audio.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/system/audio.h b/include/system/audio.h index 1c70240..0eb28b0 100644 --- a/include/system/audio.h +++ b/include/system/audio.h @@ -585,6 +585,8 @@ enum { AUDIO_DEVICE_OUT_FM = 0x100000, /* Line out for av devices */ AUDIO_DEVICE_OUT_AUX_LINE = 0x200000, + /* limited-output speaker device for acoustic safety */ + AUDIO_DEVICE_OUT_SPEAKER_SAFE = 0x400000, AUDIO_DEVICE_OUT_DEFAULT = AUDIO_DEVICE_BIT_DEFAULT, AUDIO_DEVICE_OUT_ALL = (AUDIO_DEVICE_OUT_EARPIECE | AUDIO_DEVICE_OUT_SPEAKER | @@ -608,6 +610,7 @@ enum { AUDIO_DEVICE_OUT_SPDIF | AUDIO_DEVICE_OUT_FM | AUDIO_DEVICE_OUT_AUX_LINE | + AUDIO_DEVICE_OUT_SPEAKER_SAFE | AUDIO_DEVICE_OUT_DEFAULT), AUDIO_DEVICE_OUT_ALL_A2DP = (AUDIO_DEVICE_OUT_BLUETOOTH_A2DP | AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES | |