diff options
author | Eric Laurent <elaurent@google.com> | 2014-06-10 18:39:05 -0700 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2014-06-19 10:10:54 -0700 |
commit | d97aa170de2e0d37aa4cf5305a72939ea7639d88 (patch) | |
tree | d5fd8fc1576aba00c510c5652963c9dfc9d26a0c | |
parent | 5f11341f2f5165f25e108d9519f08d78704b8ae7 (diff) | |
download | hardware_libhardware_legacy-d97aa170de2e0d37aa4cf5305a72939ea7639d88.zip hardware_libhardware_legacy-d97aa170de2e0d37aa4cf5305a72939ea7639d88.tar.gz hardware_libhardware_legacy-d97aa170de2e0d37aa4cf5305a72939ea7639d88.tar.bz2 |
audio policy: add parsing for more audio formats
Bug: 9428304.
Change-Id: Ie3c9827ed78703a1b2d9699e38ce628f3055138b
-rw-r--r-- | audio/AudioPolicyManagerBase.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/audio/AudioPolicyManagerBase.cpp b/audio/AudioPolicyManagerBase.cpp index f6ac571..1a9f441 100644 --- a/audio/AudioPolicyManagerBase.cpp +++ b/audio/AudioPolicyManagerBase.cpp @@ -3936,6 +3936,11 @@ const struct StringToEnum sFormatNameToEnumTable[] = { STRING_TO_ENUM(AUDIO_FORMAT_MP3), STRING_TO_ENUM(AUDIO_FORMAT_AAC), STRING_TO_ENUM(AUDIO_FORMAT_VORBIS), + STRING_TO_ENUM(AUDIO_FORMAT_HE_AAC_V1), + STRING_TO_ENUM(AUDIO_FORMAT_HE_AAC_V2), + STRING_TO_ENUM(AUDIO_FORMAT_OPUS), + STRING_TO_ENUM(AUDIO_FORMAT_AC3), + STRING_TO_ENUM(AUDIO_FORMAT_E_AC3), }; const struct StringToEnum sOutChannelsNameToEnumTable[] = { |