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

Unified Diff: webrtc/modules/audio_processing/audio_processing_impl.cc

Issue 2787263003: Delete all log messages depending on system_wrappers. (Closed)
Patch Set: Created 3 years, 9 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
Index: webrtc/modules/audio_processing/audio_processing_impl.cc
diff --git a/webrtc/modules/audio_processing/audio_processing_impl.cc b/webrtc/modules/audio_processing/audio_processing_impl.cc
index 1f73c5984a68af29d7dd941a64f88a834fd9e72a..75ea0f695eb9caa0cefafb0c9bfbb77c46ed15d9 100644
--- a/webrtc/modules/audio_processing/audio_processing_impl.cc
+++ b/webrtc/modules/audio_processing/audio_processing_impl.cc
@@ -41,7 +41,6 @@
#include "webrtc/modules/audio_processing/voice_detection_impl.h"
#include "webrtc/modules/include/module_common_types.h"
#include "webrtc/system_wrappers/include/file_wrapper.h"
-#include "webrtc/system_wrappers/include/logging.h"
#include "webrtc/system_wrappers/include/metrics.h"
#ifdef WEBRTC_AUDIOPROC_DEBUG_DUMP
@@ -606,11 +605,6 @@ void AudioProcessingImpl::ApplyConfig(const AudioProcessing::Config& config) {
bool config_ok = LevelController::Validate(config_.level_controller);
if (!config_ok) {
- LOG(LS_ERROR) << "AudioProcessing module config error" << std::endl
- << "level_controller: "
- << LevelController::ToString(config_.level_controller)
- << std::endl
- << "Reverting to default parameter set";
config_.level_controller = AudioProcessing::Config::LevelController();
}
@@ -628,23 +622,13 @@ void AudioProcessingImpl::ApplyConfig(const AudioProcessing::Config& config) {
// the level controller regardless of whether it is enabled or not.
InitializeLevelController();
}
- LOG(LS_INFO) << "Level controller activated: "
- << capture_nonlocked_.level_controller_enabled;
private_submodules_->level_controller->ApplyConfig(config_.level_controller);
InitializeLowCutFilter();
- LOG(LS_INFO) << "Highpass filter activated: "
- << config_.high_pass_filter.enabled;
-
config_ok = EchoCanceller3::Validate(config_.echo_canceller3);
if (!config_ok) {
- LOG(LS_ERROR) << "AudioProcessing module config error" << std::endl
- << "echo canceller 3: "
- << EchoCanceller3::ToString(config_.echo_canceller3)
- << std::endl
- << "Reverting to default parameter set";
config_.echo_canceller3 = AudioProcessing::Config::EchoCanceller3();
}
@@ -653,8 +637,6 @@ void AudioProcessingImpl::ApplyConfig(const AudioProcessing::Config& config) {
capture_nonlocked_.echo_canceller3_enabled =
config_.echo_canceller3.enabled;
InitializeEchoCanceller3();
- LOG(LS_INFO) << "Echo canceller 3 activated: "
- << capture_nonlocked_.echo_canceller3_enabled;
}
}
« no previous file with comments | « webrtc/modules/audio_processing/agc/agc_manager_direct.cc ('k') | webrtc/modules/audio_processing/echo_control_mobile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698