diff options
author | Sharad Sangle <assangle@codeaurora.org> | 2015-08-11 15:25:15 +0530 |
---|---|---|
committer | Linux Build Service Account <lnxbuild@localhost> | 2015-10-06 03:24:34 -0600 |
commit | 59424c70e4fba3dd59052ae8746dcfa53be3cd08 (patch) | |
tree | 700fd985741fa23ec388f51fe5b32c6e5eefc821 /services/audiopolicy/common | |
parent | 93542db4d4d0f5a1f0d6debd9af6e0756a3adcc0 (diff) | |
download | frameworks_av-59424c70e4fba3dd59052ae8746dcfa53be3cd08.zip frameworks_av-59424c70e4fba3dd59052ae8746dcfa53be3cd08.tar.gz frameworks_av-59424c70e4fba3dd59052ae8746dcfa53be3cd08.tar.bz2 |
audiopolicy: fix to play 6.1 channel ALAC clips
For 6.1 channel ALAC clips, the compress offload profile is
not found even though the channel mask is defined in the
audio_policy.conf file. This is because the channel mask enum
is not defined and hence the profile's channel masks
are not getting enumerated properly.
This change is needed for 6.1 channel ALAC clips playback.
Change-Id: I6b820776c0dc6e68a402886f0931439edab24a8b
Diffstat (limited to 'services/audiopolicy/common')
-rw-r--r-- | services/audiopolicy/common/managerdefinitions/include/ConfigParsingUtils.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/services/audiopolicy/common/managerdefinitions/include/ConfigParsingUtils.h b/services/audiopolicy/common/managerdefinitions/include/ConfigParsingUtils.h index 3088120..739d82b 100644 --- a/services/audiopolicy/common/managerdefinitions/include/ConfigParsingUtils.h +++ b/services/audiopolicy/common/managerdefinitions/include/ConfigParsingUtils.h @@ -224,6 +224,10 @@ const StringToEnum sOutChannelsNameToEnumTable[] = { STRING_TO_ENUM(AUDIO_CHANNEL_OUT_QUAD), STRING_TO_ENUM(AUDIO_CHANNEL_OUT_5POINT1), STRING_TO_ENUM(AUDIO_CHANNEL_OUT_7POINT1), + STRING_TO_ENUM(AUDIO_CHANNEL_OUT_2POINT1), + STRING_TO_ENUM(AUDIO_CHANNEL_OUT_SURROUND), + STRING_TO_ENUM(AUDIO_CHANNEL_OUT_PENTA), + STRING_TO_ENUM(AUDIO_CHANNEL_OUT_6POINT1), }; const StringToEnum sInChannelsNameToEnumTable[] = { |