Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e8d55a5d authored by Ravi Kumar Alamanda's avatar Ravi Kumar Alamanda Committed by Eric Laurent
Browse files

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
parent 3ecc9db4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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[] = {