diff options
author | Pavan Chikkala <pavanc@codeaurora.org> | 2015-01-05 17:31:10 +0530 |
---|---|---|
committer | Steve Kondik <shade@chemlab.org> | 2015-11-07 13:30:49 -0800 |
commit | b6338513fcb7eb01206db32df5db07bbc35c8cf4 (patch) | |
tree | 5d20ae5b1a7a72347a84c8576e022322761a06e7 /services/audiopolicy | |
parent | 839764494b74daa6630ee07ef4868983d4296eb7 (diff) | |
download | frameworks_av-b6338513fcb7eb01206db32df5db07bbc35c8cf4.zip frameworks_av-b6338513fcb7eb01206db32df5db07bbc35c8cf4.tar.gz frameworks_av-b6338513fcb7eb01206db32df5db07bbc35c8cf4.tar.bz2 |
audiopolicy: Update DeviceNametoEnumTable
Added entry for DEVICE_IN_COMMUNICATION to support
VOIP usecase.
Change-Id: Ie7e5131b776d7b93c53ca0796dffa11316091805
Diffstat (limited to 'services/audiopolicy')
-rw-r--r-- | services/audiopolicy/common/managerdefinitions/include/ConfigParsingUtils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/services/audiopolicy/common/managerdefinitions/include/ConfigParsingUtils.h b/services/audiopolicy/common/managerdefinitions/include/ConfigParsingUtils.h index 4a394bb..edcc07e 100644 --- a/services/audiopolicy/common/managerdefinitions/include/ConfigParsingUtils.h +++ b/services/audiopolicy/common/managerdefinitions/include/ConfigParsingUtils.h @@ -99,6 +99,9 @@ const StringToEnum sDeviceTypeToEnumTable[] = { STRING_TO_ENUM(AUDIO_DEVICE_IN_BLUETOOTH_A2DP), STRING_TO_ENUM(AUDIO_DEVICE_IN_LOOPBACK), STRING_TO_ENUM(AUDIO_DEVICE_IN_IP), +#ifdef LEGACY_ALSA_AUDIO + STRING_TO_ENUM(AUDIO_DEVICE_IN_COMMUNICATION), +#endif }; const StringToEnum sDeviceNameToEnumTable[] = { |