| Index: webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioEffects.java
|
| diff --git a/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioEffects.java b/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioEffects.java
|
| index 9b90f4ab547fe08c8f645bc138f6256018892f0f..7cd769a63c283d3422c55209366f2be04496b011 100644
|
| --- a/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioEffects.java
|
| +++ b/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioEffects.java
|
| @@ -208,15 +208,6 @@ class WebRtcAudioEffects {
|
|
|
| private WebRtcAudioEffects() {
|
| Logging.d(TAG, "ctor" + WebRtcAudioUtils.getThreadInfo());
|
| - for (Descriptor d : AudioEffect.queryEffects()) {
|
| - if (effectTypeIsVoIP(d.type) || DEBUG) {
|
| - // Only log information for VoIP effects (AEC, AEC and NS).
|
| - Logging.d(TAG, "name: " + d.name + ", "
|
| - + "mode: " + d.connectMode + ", "
|
| - + "implementor: " + d.implementor + ", "
|
| - + "UUID: " + d.uuid);
|
| - }
|
| - }
|
| }
|
|
|
| // Call this method to enable or disable the platform AEC. It modifies
|
| @@ -282,6 +273,17 @@ class WebRtcAudioEffects {
|
| assertTrue(agc == null);
|
| assertTrue(ns == null);
|
|
|
| + // Add logging of supported effects but filter out "VoIP effects", i.e.,
|
| + // AEC, AEC and NS.
|
| + for (Descriptor d : AudioEffect.queryEffects()) {
|
| + if (effectTypeIsVoIP(d.type) || DEBUG) {
|
| + Logging.d(TAG, "name: " + d.name + ", "
|
| + + "mode: " + d.connectMode + ", "
|
| + + "implementor: " + d.implementor + ", "
|
| + + "UUID: " + d.uuid);
|
| + }
|
| + }
|
| +
|
| if (isAcousticEchoCancelerSupported()) {
|
| // Create an AcousticEchoCanceler and attach it to the AudioRecord on
|
| // the specified audio session.
|
|
|