diff options
author | Glenn Kasten <gkasten@google.com> | 2014-03-07 10:17:36 -0800 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2014-03-07 10:21:40 -0800 |
commit | 9df8ecc68bdaa90aaac86b9218d728f84586660e (patch) | |
tree | b7556ce52ffa9e420a1a5598a6dbb978f0f11cb2 /audio | |
parent | 316222fcd60a429e53aa6205278697bb2df8ef32 (diff) | |
download | hardware_libhardware_legacy-9df8ecc68bdaa90aaac86b9218d728f84586660e.zip hardware_libhardware_legacy-9df8ecc68bdaa90aaac86b9218d728f84586660e.tar.gz hardware_libhardware_legacy-9df8ecc68bdaa90aaac86b9218d728f84586660e.tar.bz2 |
Add more PCM formats to audio_policy.conf parser
In particular, we need AUDIO_FORMAT_PCM_24_BIT_PACKED.
Change-Id: I28abe8466024bdd4d1edbb4281c6472d45a2d94f
Diffstat (limited to 'audio')
-rw-r--r-- | audio/AudioPolicyManagerBase.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/audio/AudioPolicyManagerBase.cpp b/audio/AudioPolicyManagerBase.cpp index 26d9395..6f58cf7 100644 --- a/audio/AudioPolicyManagerBase.cpp +++ b/audio/AudioPolicyManagerBase.cpp @@ -3681,6 +3681,10 @@ const struct StringToEnum sFlagNameToEnumTable[] = { const struct StringToEnum sFormatNameToEnumTable[] = { STRING_TO_ENUM(AUDIO_FORMAT_PCM_16_BIT), STRING_TO_ENUM(AUDIO_FORMAT_PCM_8_BIT), + STRING_TO_ENUM(AUDIO_FORMAT_PCM_32_BIT), + STRING_TO_ENUM(AUDIO_FORMAT_PCM_8_24_BIT), + STRING_TO_ENUM(AUDIO_FORMAT_PCM_FLOAT), + STRING_TO_ENUM(AUDIO_FORMAT_PCM_24_BIT_PACKED), STRING_TO_ENUM(AUDIO_FORMAT_MP3), STRING_TO_ENUM(AUDIO_FORMAT_AAC), STRING_TO_ENUM(AUDIO_FORMAT_VORBIS), |