Index: webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioRecord.java |
diff --git a/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioRecord.java b/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioRecord.java |
index df54fa28ba711f203ab264b9badb9a26febcb242..d5ab84023f3d3688d4ca1f42de6a73ef374ff4a4 100644 |
--- a/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioRecord.java |
+++ b/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioRecord.java |
@@ -284,9 +284,10 @@ public class WebRtcAudioRecord { |
private native void nativeDataIsRecorded(int bytes, long nativeAudioRecord); |
- // TODO(glaznev): remove this API once SW mic mute can use AudioTrack.setEnabled(). |
+ // Sets all recorded samples to zero if |mute| is true, i.e., ensures that |
+ // the microphone is muted. |
public static void setMicrophoneMute(boolean mute) { |
- Logging.w(TAG, "setMicrophoneMute API will be deprecated soon."); |
+ Logging.w(TAG, "setMicrophoneMute(" + mute + ")"); |
microphoneMute = mute; |
} |
} |