summaryrefslogtreecommitdiffstats
path: root/services/audiopolicy/common
diff options
context:
space:
mode:
authorRavi Kumar Alamanda <ralama@codeaurora.org>2015-06-17 19:05:43 -0700
committerEric Laurent <elaurent@google.com>2015-06-18 10:36:29 -0700
commite8d55a5d1f6b08cfdabea7628e956063a47fa160 (patch)
tree99492747e87c407d80fe373ce6c2f02463e94fde /services/audiopolicy/common
parent3ecc9db40b1fb9c7f807a5892e5c9625aac1fb06 (diff)
downloadframeworks_av-e8d55a5d1f6b08cfdabea7628e956063a47fa160.zip
frameworks_av-e8d55a5d1f6b08cfdabea7628e956063a47fa160.tar.gz
frameworks_av-e8d55a5d1f6b08cfdabea7628e956063a47fa160.tar.bz2
audiopolicy: Add AUDIO_OUTPUT_FLAG_TTS to flags enum table
Without an entry in sOutputFlagNameToEnumTable, a profile with specific output flag in the audio_policy.conf will not be detected by AudioPolicyManager. Change-Id: Id242e6819aab1a67d72c564f3cc39af3de8e1ef7
Diffstat (limited to 'services/audiopolicy/common')
-rw-r--r--services/audiopolicy/common/managerdefinitions/include/ConfigParsingUtils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/audiopolicy/common/managerdefinitions/include/ConfigParsingUtils.h b/services/audiopolicy/common/managerdefinitions/include/ConfigParsingUtils.h
index 0b08430..a39006e 100644
--- a/services/audiopolicy/common/managerdefinitions/include/ConfigParsingUtils.h
+++ b/services/audiopolicy/common/managerdefinitions/include/ConfigParsingUtils.h
@@ -155,6 +155,7 @@ const StringToEnum sOutputFlagNameToEnumTable[] = {
STRING_TO_ENUM(AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD),
STRING_TO_ENUM(AUDIO_OUTPUT_FLAG_NON_BLOCKING),
STRING_TO_ENUM(AUDIO_OUTPUT_FLAG_HW_AV_SYNC),
+ STRING_TO_ENUM(AUDIO_OUTPUT_FLAG_TTS),
};
const StringToEnum sInputFlagNameToEnumTable[] = {