Advertisement
Guest User

Untitled

a guest
Nov 28th, 2015
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.36 KB | None | 0 0
  1. From e353d18250b93e60d1c7c02f82be71bbfef100db Mon Sep 17 00:00:00 2001
  2. From: myzb <myzb.dev@gmail.com>
  3. Date: Wed, 4 Nov 2015 00:47:10 +0100
  4. Subject: [PATCH 1/2] msm8226-common: enable ns and ec audio pre processing
  5. effects
  6.  
  7. * enable noise suppression and echo cancellation for phone calls
  8.  
  9. Change-Id: I10f9c7417c23a039793ab27ea1d0fe4c639b78d1
  10. ---
  11. configs/audio_effects.conf | 25 +++++++++++++++++--------
  12. 1 file changed, 17 insertions(+), 8 deletions(-)
  13.  
  14. diff --git a/configs/audio_effects.conf b/configs/audio_effects.conf
  15. index c910f9b..87f7d81 100644
  16. --- a/configs/audio_effects.conf
  17. +++ b/configs/audio_effects.conf
  18. @@ -143,14 +143,23 @@ effects {
  19. library loudness_enhancer
  20. uuid fa415329-2034-4bea-b5dc-5b381c8d1e2c
  21. }
  22. -# aec {
  23. -# library audio_pre_processing
  24. -# uuid 0f8d0d2a-59e5-45fe-b6e4-248c8a799109
  25. -# }
  26. -# ns {
  27. -# library audio_pre_processing
  28. -# uuid 1d97bb0b-9e2f-4403-9ae3-58c2554306f8
  29. -# }
  30. + aec {
  31. + library audio_pre_processing
  32. + uuid 0f8d0d2a-59e5-45fe-b6e4-248c8a799109
  33. + }
  34. + ns {
  35. + library audio_pre_processing
  36. + uuid 1d97bb0b-9e2f-4403-9ae3-58c2554306f8
  37. + }
  38. +}
  39. +
  40. +pre_processing {
  41. + voice_communication {
  42. + aec {
  43. + }
  44. + ns {
  45. + }
  46. + }
  47. }
  48.  
  49. # Default pre-processing effects. Add to audio_effect.conf "effects" section if
  50. --
  51. 1.9.1
  52.  
  53.  
  54. From dd12290166f89fe2735f839e5e041afc8c2fc836 Mon Sep 17 00:00:00 2001
  55. From: myzb <myzb.dev@gmail.com>
  56. Date: Wed, 4 Nov 2015 00:49:21 +0100
  57. Subject: [PATCH 2/2] Revert "msm8226-common: overlay: disable call noise
  58. suppression"
  59.  
  60. This reverts commit 196fe1ecec7c4139edb86a3f4ca6b2350904a66c.
  61. ---
  62. overlay/packages/services/Telephony/res/values/config.xml | 4 ++++
  63. 1 file changed, 4 insertions(+)
  64.  
  65. diff --git a/overlay/packages/services/Telephony/res/values/config.xml b/overlay/packages/services/Telephony/res/values/config.xml
  66. index c126680..8ec8584 100644
  67. --- a/overlay/packages/services/Telephony/res/values/config.xml
  68. +++ b/overlay/packages/services/Telephony/res/values/config.xml
  69. @@ -19,4 +19,8 @@
  70. are routed through the android.media.AudioManager class (true) or through
  71. the com.android.internal.telephony.Phone interface (false). -->
  72. <bool name="send_mic_mute_to_AudioManager">true</bool>
  73. +
  74. + <!-- This device implements a noise suppression device for in call audio-->
  75. + <bool name="has_in_call_noise_suppression">true</bool>
  76. +
  77. </resources>
  78. --
  79. 1.9.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement