diff options
author | vivek mehta <mvivek@codeaurora.org> | 2015-08-07 19:46:06 -0700 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2015-08-20 13:02:07 -0700 |
commit | 765eb645d3a83949a05eecb9f22a84bd47978c19 (patch) | |
tree | 503be88d17a95f59b1bef8a31b0c001301a01be5 /hal/msm8974/platform.h | |
parent | 65ad12de29cc94d65b2efc76588ae69ba941ba98 (diff) | |
download | hardware_qcom_audio-765eb645d3a83949a05eecb9f22a84bd47978c19.tar.gz hardware_qcom_audio-765eb645d3a83949a05eecb9f22a84bd47978c19.tar.bz2 hardware_qcom_audio-765eb645d3a83949a05eecb9f22a84bd47978c19.zip |
hal: Fix sidetone sequence during voice call
When sidetone is enabled during voice call, the RX and TX path mixer
controls are issued back to back, this causes the codec path to be
enabled from TX to RX as the internal loopback for sidetone exists. Due
to enabling this path, pop noise is observed on headphones. This issue
is fixed by treating sidetone as special case and changing the enable
and disable sequence of sidetone mixer controls.
Based on CAF commit : I7aea55af963cf939286e5b349ff25fd783314679
BUG=23135950
Change-Id: Ib5759e08d9b5948a76545b032d882231410cfa2a
Diffstat (limited to 'hal/msm8974/platform.h')
-rw-r--r-- | hal/msm8974/platform.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hal/msm8974/platform.h b/hal/msm8974/platform.h index b166e2fe..1c067267 100644 --- a/hal/msm8974/platform.h +++ b/hal/msm8974/platform.h @@ -148,6 +148,7 @@ enum { #define ALL_SESSION_VSID 0xFFFFFFFF #define DEFAULT_MUTE_RAMP_DURATION_MS 20 #define DEFAULT_VOLUME_RAMP_DURATION_MS 20 +#define MIXER_PATH_MAX_LENGTH 100 #define ACDB_ID_VOICE_SPEAKER 15 #define ACDB_ID_VOICE_HANDSET 7 |