Index: webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioTrack.java |
diff --git a/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioTrack.java b/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioTrack.java |
index ca37dfe495658190bdb57a27b186f26b5216d4c2..4a45187a58d792454749010401403d32d44a15b6 100644 |
--- a/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioTrack.java |
+++ b/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioTrack.java |
@@ -284,6 +284,7 @@ public class WebRtcAudioTrack { |
+ "max gain: " + audioTrack.getMaxVolume()); |
} |
+ @TargetApi(24) |
private void logMainParametersExtended() { |
if (WebRtcAudioUtils.runningOnMarshmallowOrHigher()) { |
Logging.d(TAG, "AudioTrack: " |
@@ -303,6 +304,7 @@ public class WebRtcAudioTrack { |
// potential audio glitch. |
// TODO(henrika): keep track of this value in the field and possibly add new |
// UMA stat if needed. |
+ @TargetApi(24) |
private void logUnderrunCount() { |
if (WebRtcAudioUtils.runningOnNougatOrHigher()) { |
Logging.d(TAG, "underrun count: " + audioTrack.getUnderrunCount()); |