Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1872)

Issue 1344563002: Improving support for Android Audio Effects in WebRTC (Closed)

Created:
5 years, 3 months ago by henrika_webrtc
Modified:
5 years, 3 months ago
CC:
webrtc-reviews_webrtc.org
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Improving support for Android Audio Effects in WebRTC. Now also supports AGC and NS effects and adds the possibility to override default settings. R=magjed@webrtc.org, pbos@webrtc.org, sophiechang@chromium.org TBR=perkj BUG=NONE Committed: https://crrev.com/c14f5ff60fb0c42c97702de112a9e8f1eccba574 Cr-Commit-Position: refs/heads/master@{#10030}

Patch Set 1 #

Patch Set 2 : More work #

Patch Set 3 : First working version #

Patch Set 4 : rebased #

Patch Set 5 : Added new scheme to allow clients to override default values #

Patch Set 6 : Adding possibility to override default usage of HW effects #

Patch Set 7 : Added new APIs in VoEHardware for AGC and NS #

Total comments: 48

Patch Set 8 : Feedback from Sophie #

Patch Set 9 : Feedback from magjed@ #

Total comments: 4

Patch Set 10 : Libjingle now also uses new knowledge about HW AGC and NS #

Patch Set 11 : nits #

Patch Set 12 : Fixes libjingle_peerconnection_android_unittest #

Patch Set 13 : Blacklisting more Nexus devices #

Patch Set 14 : Rebased #

Patch Set 15 : Improved comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+840 lines, -220 lines) Patch
M talk/app/webrtc/test/fakeaudiocapturemodule.h View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M talk/libjingle.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M talk/media/webrtc/fakewebrtcvoiceengine.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +4 lines, -0 lines 0 comments Download
M talk/media/webrtc/webrtcvoiceengine.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +27 lines, -6 lines 0 comments Download
M webrtc/modules/audio_device/android/audio_device_template.h View 1 2 3 4 5 6 1 chunk +22 lines, -0 lines 0 comments Download
M webrtc/modules/audio_device/android/audio_manager.h View 1 2 3 4 5 6 4 chunks +13 lines, -3 lines 0 comments Download
M webrtc/modules/audio_device/android/audio_manager.cc View 1 2 3 4 5 6 5 chunks +23 lines, -3 lines 0 comments Download
M webrtc/modules/audio_device/android/audio_manager_unittest.cc View 1 2 3 4 5 6 1 chunk +10 lines, -0 lines 0 comments Download
M webrtc/modules/audio_device/android/audio_record_jni.h View 1 2 3 4 5 6 3 chunks +6 lines, -0 lines 0 comments Download
M webrtc/modules/audio_device/android/audio_record_jni.cc View 1 2 3 4 5 6 7 8 3 chunks +30 lines, -4 lines 0 comments Download
M webrtc/modules/audio_device/android/audio_track_jni.cc View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -6 lines 0 comments Download
A webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioEffects.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +377 lines, -0 lines 0 comments Download
M webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioManager.java View 1 2 3 4 5 6 7 8 9 chunks +48 lines, -35 lines 0 comments Download
M webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioRecord.java View 1 2 3 4 5 6 7 8 10 chunks +56 lines, -90 lines 0 comments Download
M webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioTrack.java View 1 2 3 4 5 6 7 8 5 chunks +12 lines, -12 lines 0 comments Download
M webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioUtils.java View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +93 lines, -34 lines 0 comments Download
M webrtc/modules/audio_device/audio_device_generic.h View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M webrtc/modules/audio_device/audio_device_generic.cc View 1 2 3 4 5 6 1 chunk +20 lines, -0 lines 0 comments Download
M webrtc/modules/audio_device/audio_device_impl.h View 1 2 3 4 5 6 1 chunk +5 lines, -2 lines 0 comments Download
M webrtc/modules/audio_device/audio_device_impl.cc View 1 2 3 4 5 6 1 chunk +29 lines, -16 lines 0 comments Download
M webrtc/modules/audio_device/include/audio_device.h View 1 2 3 4 5 6 1 chunk +5 lines, -9 lines 0 comments Download
M webrtc/modules/audio_device/include/fake_audio_device.h View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M webrtc/voice_engine/include/voe_hardware.h View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M webrtc/voice_engine/voe_hardware_impl.h View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M webrtc/voice_engine/voe_hardware_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +32 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (2 generated)
henrika_webrtc
magjed@ for all parts and sophiechang@ for parts under android/java/src/org/webrtc/voiceengine/
5 years, 3 months ago (2015-09-21 16:05:56 UTC) #2
henrika_webrtc
FYI, I still have some more work todo in Libjingle but the main parts should ...
5 years, 3 months ago (2015-09-21 16:13:12 UTC) #3
sophiechang-webrtc
Definitely much better than previous approach and more flexible from an API standpoint. https://codereview.webrtc.org/1344563002/diff/120001/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioEffects.java File ...
5 years, 3 months ago (2015-09-21 20:04:40 UTC) #4
henrika_webrtc
Thanks Sophie ;-) https://codereview.webrtc.org/1344563002/diff/120001/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioEffects.java File webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioEffects.java (right): https://codereview.webrtc.org/1344563002/diff/120001/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioEffects.java#newcode43 webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioEffects.java:43: private static Boolean canUseAcousticEchoCanceler = null; ...
5 years, 3 months ago (2015-09-22 11:57:04 UTC) #5
magjed_webrtc
https://codereview.webrtc.org/1344563002/diff/120001/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioEffects.java File webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioEffects.java (right): https://codereview.webrtc.org/1344563002/diff/120001/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioEffects.java#newcode43 webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioEffects.java:43: private static Boolean canUseAcousticEchoCanceler = null; Can you add ...
5 years, 3 months ago (2015-09-22 12:10:10 UTC) #6
henrika_webrtc
https://codereview.webrtc.org/1344563002/diff/120001/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioUtils.java File webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioUtils.java (right): https://codereview.webrtc.org/1344563002/diff/120001/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioUtils.java#newcode98 webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioUtils.java:98: public static boolean defaultSampleRateIsOverriden() { But, we do have ...
5 years, 3 months ago (2015-09-22 12:10:47 UTC) #7
magjed_webrtc
Java files lgtm % nits. One general comment is that it would be nice if ...
5 years, 3 months ago (2015-09-22 14:19:05 UTC) #8
henrika_webrtc
https://codereview.webrtc.org/1344563002/diff/120001/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioEffects.java File webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioEffects.java (right): https://codereview.webrtc.org/1344563002/diff/120001/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioEffects.java#newcode43 webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioEffects.java:43: private static Boolean canUseAcousticEchoCanceler = null; On 2015/09/22 12:10:09, ...
5 years, 3 months ago (2015-09-22 14:52:58 UTC) #9
henrika_webrtc
Thanks magjed! "One general comment is that it would be nice if we could send ...
5 years, 3 months ago (2015-09-22 15:01:21 UTC) #10
sophiechang-webrtc
lgtm https://codereview.webrtc.org/1344563002/diff/120001/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioEffects.java File webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioEffects.java (right): https://codereview.webrtc.org/1344563002/diff/120001/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioEffects.java#newcode43 webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioEffects.java:43: private static Boolean canUseAcousticEchoCanceler = null; On 2015/09/22 ...
5 years, 3 months ago (2015-09-22 20:15:33 UTC) #11
henrika_webrtc
https://codereview.webrtc.org/1344563002/diff/120001/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioEffects.java File webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioEffects.java (right): https://codereview.webrtc.org/1344563002/diff/120001/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioEffects.java#newcode43 webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioEffects.java:43: private static Boolean canUseAcousticEchoCanceler = null; Keeping as is ...
5 years, 3 months ago (2015-09-23 11:11:28 UTC) #12
henrika_webrtc
Adding pbos for talk/media/webrtc/
5 years, 3 months ago (2015-09-23 11:37:46 UTC) #13
pbos-webrtc
lgtm for talk/
5 years, 3 months ago (2015-09-23 11:44:46 UTC) #15
henrika_webrtc
TBR perkj for trivial change in talk/app/webrtc/test/fakeaudiocapturemodule.h
5 years, 3 months ago (2015-09-23 12:08:24 UTC) #16
henrika_webrtc
Committed patchset #15 (id:280001) manually as c14f5ff60fb0c42c97702de112a9e8f1eccba574 (presubmit successful).
5 years, 3 months ago (2015-09-23 12:09:45 UTC) #17
commit-bot: I haz the power
5 years, 3 months ago (2015-09-23 12:09:50 UTC) #18
Message was sent while issue was closed.
Patchset 15 (id:??) landed as
https://crrev.com/c14f5ff60fb0c42c97702de112a9e8f1eccba574
Cr-Commit-Position: refs/heads/master@{#10030}

Powered by Google App Engine
This is Rietveld 408576698