From e8d55a5d1f6b08cfdabea7628e956063a47fa160 Mon Sep 17 00:00:00 2001 From: Ravi Kumar Alamanda Date: Wed, 17 Jun 2015 19:05:43 -0700 Subject: 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 --- .../audiopolicy/common/managerdefinitions/include/ConfigParsingUtils.h | 1 + 1 file changed, 1 insertion(+) (limited to 'services/audiopolicy/common') 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[] = { -- cgit v1.1