commit | e8d55a5d1f6b08cfdabea7628e956063a47fa160 | [log] [tgz] |
---|---|---|
author | Ravi Kumar Alamanda <ralama@codeaurora.org> | Wed Jun 17 19:05:43 2015 -0700 |
committer | Eric Laurent <elaurent@google.com> | Thu Jun 18 10:36:29 2015 -0700 |
tree | 99492747e87c407d80fe373ce6c2f02463e94fde | |
parent | 3ecc9db40b1fb9c7f807a5892e5c9625aac1fb06 [diff] |
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
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 @@ 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[] = {