aboutsummaryrefslogtreecommitdiff
path: root/webrtc/modules/audio_processing/audio_processing_impl.cc
diff options
context:
space:
mode:
authorbjornv@webrtc.org <bjornv@webrtc.org>2015-02-06 19:44:21 +0000
committerbjornv@webrtc.org <bjornv@webrtc.org>2015-02-06 19:44:46 +0000
commit63da1dd9720533990842f1e0aa94bf8269c86ae4 (patch)
tree87b2a62e9946cbba1f576773605c76d56eaf4daa /webrtc/modules/audio_processing/audio_processing_impl.cc
parentccd7e99f0acc7ebf2d4bdda74edf665f1184f97d (diff)
downloadwebrtc-63da1dd9720533990842f1e0aa94bf8269c86ae4.tar.gz
audio_processing: Now records mic volume level also when using new AGC
Previously only mic level calculated by the legacy agc was logged in aecdebug dumps. Now we log it for any agc. In addition, it is now possible to turn on and off debug recording in the test tool voe_cmd_test. BUG=4274 TESTED=verified using voe_cmd_test R=andrew@webrtc.org Review URL: https://webrtc-codereview.appspot.com/39839004 Cr-Commit-Position: refs/heads/master@{#8274} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8274 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'webrtc/modules/audio_processing/audio_processing_impl.cc')
-rw-r--r--webrtc/modules/audio_processing/audio_processing_impl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/webrtc/modules/audio_processing/audio_processing_impl.cc b/webrtc/modules/audio_processing/audio_processing_impl.cc
index 7eeda111a1..1319e16962 100644
--- a/webrtc/modules/audio_processing/audio_processing_impl.cc
+++ b/webrtc/modules/audio_processing/audio_processing_impl.cc
@@ -591,7 +591,7 @@ int AudioProcessingImpl::ProcessStreamLocked() {
audioproc::Stream* msg = event_msg_->mutable_stream();
msg->set_delay(stream_delay_ms_);
msg->set_drift(echo_cancellation_->stream_drift_samples());
- msg->set_level(gain_control_->stream_analog_level());
+ msg->set_level(gain_control()->stream_analog_level());
msg->set_keypress(key_pressed_);
}
#endif