summaryrefslogtreecommitdiffstats
path: root/services/audiopolicy/common
diff options
context:
space:
mode:
authorYamit Mehta <ymehta@codeaurora.org>2015-07-12 13:02:33 +0530
committerLinux Build Service Account <lnxbuild@localhost>2015-10-06 03:24:03 -0600
commit864b337c8c88f4e7c7b20813389844b0484fe6ee (patch)
tree932ed2f644babefe0a9c5cee424f87e6a6dbe625 /services/audiopolicy/common
parentc46f5e16c733959530632fdeb7b33b015595160b (diff)
downloadframeworks_av-864b337c8c88f4e7c7b20813389844b0484fe6ee.zip
frameworks_av-864b337c8c88f4e7c7b20813389844b0484fe6ee.tar.gz
frameworks_av-864b337c8c88f4e7c7b20813389844b0484fe6ee.tar.bz2
audiopolicy: Add audio proxy device in audio policy
Add audio policy for WFD and visualiser usecase. Change-Id: Idf3856a373eb7a05362f19d6cb117e9d4fb757ef
Diffstat (limited to 'services/audiopolicy/common')
-rw-r--r--services/audiopolicy/common/managerdefinitions/include/ConfigParsingUtils.h3
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 78d2cdf..e87397d 100644
--- a/services/audiopolicy/common/managerdefinitions/include/ConfigParsingUtils.h
+++ b/services/audiopolicy/common/managerdefinitions/include/ConfigParsingUtils.h
@@ -74,6 +74,9 @@ const StringToEnum sDeviceTypeToEnumTable[] = {
STRING_TO_ENUM(AUDIO_DEVICE_OUT_FM),
STRING_TO_ENUM(AUDIO_DEVICE_OUT_AUX_LINE),
STRING_TO_ENUM(AUDIO_DEVICE_OUT_IP),
+#ifdef AUDIO_EXTN_AFE_PROXY_ENABLED
+ STRING_TO_ENUM(AUDIO_DEVICE_OUT_PROXY),
+#endif
STRING_TO_ENUM(AUDIO_DEVICE_IN_AMBIENT),
STRING_TO_ENUM(AUDIO_DEVICE_IN_BUILTIN_MIC),
STRING_TO_ENUM(AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET),