summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorPhil Burk <philburk@google.com>2015-03-31 14:50:42 -0700
committerPhil Burk <philburk@google.com>2015-04-06 16:58:36 +0000
commit7d669b3551c20109f5544455ca1555499693e1e1 (patch)
tree12868d89982fe013e17c7f2544882704f486589d /services
parent41efeb2b477066d96ad34a048f34fb6fb34213ec (diff)
downloadframeworks_av-7d669b3551c20109f5544455ca1555499693e1e1.zip
frameworks_av-7d669b3551c20109f5544455ca1555499693e1e1.tar.gz
frameworks_av-7d669b3551c20109f5544455ca1555499693e1e1.tar.bz2
audiopolicy: add support for parsing AUDIO_FORMAT_DTS
Bug: 18292317 Change-Id: Ic9a15fc09ce32021d12072fb71252d207deac30a Signed-off-by: Phil Burk <philburk@google.com>
Diffstat (limited to 'services')
-rw-r--r--services/audiopolicy/common/managerdefinitions/include/ConfigParsingUtils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/services/audiopolicy/common/managerdefinitions/include/ConfigParsingUtils.h b/services/audiopolicy/common/managerdefinitions/include/ConfigParsingUtils.h
index 53cb4a3..14a7d36 100644
--- a/services/audiopolicy/common/managerdefinitions/include/ConfigParsingUtils.h
+++ b/services/audiopolicy/common/managerdefinitions/include/ConfigParsingUtils.h
@@ -134,6 +134,8 @@ const StringToEnum sFormatNameToEnumTable[] = {
STRING_TO_ENUM(AUDIO_FORMAT_OPUS),
STRING_TO_ENUM(AUDIO_FORMAT_AC3),
STRING_TO_ENUM(AUDIO_FORMAT_E_AC3),
+ STRING_TO_ENUM(AUDIO_FORMAT_DTS),
+ STRING_TO_ENUM(AUDIO_FORMAT_DTS_HD),
};
const StringToEnum sOutChannelsNameToEnumTable[] = {