Minor fix for debug logging on Android
BUG=NONE Review URL: https://codereview.webrtc.org/1372873002 Cr-Commit-Position: refs/heads/master@{#10088}
This commit is contained in:
@ -209,7 +209,7 @@ class WebRtcAudioEffects {
|
|||||||
private WebRtcAudioEffects() {
|
private WebRtcAudioEffects() {
|
||||||
Logging.d(TAG, "ctor" + WebRtcAudioUtils.getThreadInfo());
|
Logging.d(TAG, "ctor" + WebRtcAudioUtils.getThreadInfo());
|
||||||
for (Descriptor d : AudioEffect.queryEffects()) {
|
for (Descriptor d : AudioEffect.queryEffects()) {
|
||||||
if (effectTypeIsVoIP(d.type)) {
|
if (effectTypeIsVoIP(d.type) || DEBUG) {
|
||||||
// Only log information for VoIP effects (AEC, AEC and NS).
|
// Only log information for VoIP effects (AEC, AEC and NS).
|
||||||
Logging.d(TAG, "name: " + d.name + ", "
|
Logging.d(TAG, "name: " + d.name + ", "
|
||||||
+ "mode: " + d.connectMode + ", "
|
+ "mode: " + d.connectMode + ", "
|
||||||
|
@ -22,7 +22,7 @@ import android.os.Process;
|
|||||||
import org.webrtc.Logging;
|
import org.webrtc.Logging;
|
||||||
|
|
||||||
class WebRtcAudioTrack {
|
class WebRtcAudioTrack {
|
||||||
private static final boolean DEBUG = true;
|
private static final boolean DEBUG = false;
|
||||||
|
|
||||||
private static final String TAG = "WebRtcAudioTrack";
|
private static final String TAG = "WebRtcAudioTrack";
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user