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

Unified Diff: webrtc/modules/audio_device/android/audio_device_template.h

Issue 2115603004: Simplify logging statements. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix comma. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/modules/audio_device/audio_device_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_device/android/audio_device_template.h
diff --git a/webrtc/modules/audio_device/android/audio_device_template.h b/webrtc/modules/audio_device/android/audio_device_template.h
index 46d97f6da6f787f518f9996c3147cc04a415960c..31b1cf794f6cc88d3509c41743773415832a33f5 100644
--- a/webrtc/modules/audio_device/android/audio_device_template.h
+++ b/webrtc/modules/audio_device/android/audio_device_template.h
@@ -497,11 +497,7 @@ class AudioDeviceTemplate : public AudioDeviceGeneric {
}
int32_t EnableBuiltInAEC(bool enable) override {
- if (enable) {
- LOG(INFO) << __FUNCTION__ << ": enabling built in AEC";
- } else {
- LOG(INFO) << __FUNCTION__ << ": disabling built in AEC";
- }
+ LOG(INFO) << __FUNCTION__ << "(" << enable << ")";
RTC_CHECK(BuiltInAECIsAvailable()) << "HW AEC is not available";
return input_.EnableBuiltInAEC(enable);
}
@@ -514,11 +510,7 @@ class AudioDeviceTemplate : public AudioDeviceGeneric {
}
int32_t EnableBuiltInAGC(bool enable) override {
- if (enable) {
- LOG(INFO) << __FUNCTION__ << ": enabling built in AGC";
- } else {
- LOG(INFO) << __FUNCTION__ << ": disabling built in AGC";
- }
+ LOG(INFO) << __FUNCTION__ << "(" << enable << ")";
RTC_CHECK(BuiltInAGCIsAvailable()) << "HW AGC is not available";
return input_.EnableBuiltInAGC(enable);
}
@@ -531,11 +523,7 @@ class AudioDeviceTemplate : public AudioDeviceGeneric {
}
int32_t EnableBuiltInNS(bool enable) override {
- if (enable) {
- LOG(INFO) << __FUNCTION__ << ": enabling built in NS";
- } else {
- LOG(INFO) << __FUNCTION__ << ": disabling built in NS";
- }
+ LOG(INFO) << __FUNCTION__ << "(" << enable << ")";
RTC_CHECK(BuiltInNSIsAvailable()) << "HW NS is not available";
return input_.EnableBuiltInNS(enable);
}
« no previous file with comments | « no previous file | webrtc/modules/audio_device/audio_device_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698