summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2013-01-17 17:27:26 -0800
committerEric Laurent <elaurent@google.com>2013-01-22 17:07:33 -0800
commit60758e27a4be8fc9ac1180f8a4055234e1702cc9 (patch)
treed35a7c01a93fe88b4cfef39a2c45e5e6706e224c /audio
parent49637a296a54484266a27178a75439269a9c80d9 (diff)
downloadplatform_hardware_libhardware_legacy-60758e27a4be8fc9ac1180f8a4055234e1702cc9.tar.gz
platform_hardware_libhardware_legacy-60758e27a4be8fc9ac1180f8a4055234e1702cc9.tar.bz2
platform_hardware_libhardware_legacy-60758e27a4be8fc9ac1180f8a4055234e1702cc9.zip
audio policy: added front + back mic
Added definition to parse front + back mic from input descriptors in audio_policy.conf file. Change-Id: I9ebdeac664e12104589a52d15acbbfc4db787923
Diffstat (limited to 'audio')
-rw-r--r--audio/AudioPolicyManagerBase.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/AudioPolicyManagerBase.cpp b/audio/AudioPolicyManagerBase.cpp
index 134fb3b..2b37883 100644
--- a/audio/AudioPolicyManagerBase.cpp
+++ b/audio/AudioPolicyManagerBase.cpp
@@ -3406,6 +3406,7 @@ const struct StringToEnum sOutChannelsNameToEnumTable[] = {
const struct StringToEnum sInChannelsNameToEnumTable[] = {
STRING_TO_ENUM(AUDIO_CHANNEL_IN_MONO),
STRING_TO_ENUM(AUDIO_CHANNEL_IN_STEREO),
+ STRING_TO_ENUM(AUDIO_CHANNEL_IN_FRONT_BACK),
};