Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- From e353d18250b93e60d1c7c02f82be71bbfef100db Mon Sep 17 00:00:00 2001
- From: myzb <myzb.dev@gmail.com>
- Date: Wed, 4 Nov 2015 00:47:10 +0100
- Subject: [PATCH 1/2] msm8226-common: enable ns and ec audio pre processing
- effects
- * enable noise suppression and echo cancellation for phone calls
- Change-Id: I10f9c7417c23a039793ab27ea1d0fe4c639b78d1
- ---
- configs/audio_effects.conf | 25 +++++++++++++++++--------
- 1 file changed, 17 insertions(+), 8 deletions(-)
- diff --git a/configs/audio_effects.conf b/configs/audio_effects.conf
- index c910f9b..87f7d81 100644
- --- a/configs/audio_effects.conf
- +++ b/configs/audio_effects.conf
- @@ -143,14 +143,23 @@ effects {
- library loudness_enhancer
- uuid fa415329-2034-4bea-b5dc-5b381c8d1e2c
- }
- -# aec {
- -# library audio_pre_processing
- -# uuid 0f8d0d2a-59e5-45fe-b6e4-248c8a799109
- -# }
- -# ns {
- -# library audio_pre_processing
- -# uuid 1d97bb0b-9e2f-4403-9ae3-58c2554306f8
- -# }
- + aec {
- + library audio_pre_processing
- + uuid 0f8d0d2a-59e5-45fe-b6e4-248c8a799109
- + }
- + ns {
- + library audio_pre_processing
- + uuid 1d97bb0b-9e2f-4403-9ae3-58c2554306f8
- + }
- +}
- +
- +pre_processing {
- + voice_communication {
- + aec {
- + }
- + ns {
- + }
- + }
- }
- # Default pre-processing effects. Add to audio_effect.conf "effects" section if
- --
- 1.9.1
- From dd12290166f89fe2735f839e5e041afc8c2fc836 Mon Sep 17 00:00:00 2001
- From: myzb <myzb.dev@gmail.com>
- Date: Wed, 4 Nov 2015 00:49:21 +0100
- Subject: [PATCH 2/2] Revert "msm8226-common: overlay: disable call noise
- suppression"
- This reverts commit 196fe1ecec7c4139edb86a3f4ca6b2350904a66c.
- ---
- overlay/packages/services/Telephony/res/values/config.xml | 4 ++++
- 1 file changed, 4 insertions(+)
- diff --git a/overlay/packages/services/Telephony/res/values/config.xml b/overlay/packages/services/Telephony/res/values/config.xml
- index c126680..8ec8584 100644
- --- a/overlay/packages/services/Telephony/res/values/config.xml
- +++ b/overlay/packages/services/Telephony/res/values/config.xml
- @@ -19,4 +19,8 @@
- are routed through the android.media.AudioManager class (true) or through
- the com.android.internal.telephony.Phone interface (false). -->
- <bool name="send_mic_mute_to_AudioManager">true</bool>
- +
- + <!-- This device implements a noise suppression device for in call audio-->
- + <bool name="has_in_call_noise_suppression">true</bool>
- +
- </resources>
- --
- 1.9.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement