diff options
author | Ravi Kumar Alamanda <ralama@codeaurora.org> | 2015-06-25 13:32:42 -0700 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2015-07-02 13:55:16 -0700 |
commit | e258e6871b27aa4b63b4b44fe2e318ded4d4e511 (patch) | |
tree | f9f17ace48217c8d02c89e34371f864308afae4b /hal/msm8974/platform.h | |
parent | c4f57314a49fb83ed602395d9fe0c0164c9e863d (diff) | |
download | hardware_qcom_audio-e258e6871b27aa4b63b4b44fe2e318ded4d4e511.tar.gz hardware_qcom_audio-e258e6871b27aa4b63b4b44fe2e318ded4d4e511.tar.bz2 hardware_qcom_audio-e258e6871b27aa4b63b4b44fe2e318ded4d4e511.zip |
hal: Provide support to enable/disable EC/NS in BT
Currently during a SCO connection ECNS module in ADSP
is disabled by default. Some BT headsets have built-in
support for echo cancellation and noise reduction and
therefore do not require the same to be done again.
Select BT_SCO devices with ECNS modules enabled when
setParameters() is called with NREC=on.
CAF commit: e240e5d3124bbdd82d1b5013c3e714deac2727e6
Bug: 22100304.
Change-Id: Ifa302537221452e02fb80954d2c04b52448e0b9d
Diffstat (limited to 'hal/msm8974/platform.h')
-rw-r--r-- | hal/msm8974/platform.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hal/msm8974/platform.h b/hal/msm8974/platform.h index 63c1357e..43e6be38 100644 --- a/hal/msm8974/platform.h +++ b/hal/msm8974/platform.h @@ -95,8 +95,9 @@ enum { SND_DEVICE_IN_HDMI_MIC, SND_DEVICE_IN_BT_SCO_MIC, + SND_DEVICE_IN_BT_SCO_MIC_NREC, SND_DEVICE_IN_BT_SCO_MIC_WB, - + SND_DEVICE_IN_BT_SCO_MIC_WB_NREC, SND_DEVICE_IN_CAMCORDER_MIC, SND_DEVICE_IN_VOICE_DMIC, |