To verify the upcoming code changes it is required
that the level of the output in the audio processing
module is monitored. This CL adds that.
BUG=webrtc:6181, webrtc:6183, webrtc:6220
Review-Url: https://codereview.webrtc.org/2549143004
Cr-Commit-Position: refs/heads/master@{#15718}
diff --git a/webrtc/modules/audio_processing/audio_processing_impl.h b/webrtc/modules/audio_processing/audio_processing_impl.h
index ae4d89b..01b640f 100644
--- a/webrtc/modules/audio_processing/audio_processing_impl.h
+++ b/webrtc/modules/audio_processing/audio_processing_impl.h
@@ -415,8 +415,9 @@
std::vector<float> red_render_queue_buffer_ GUARDED_BY(crit_render_);
std::vector<float> red_capture_queue_buffer_ GUARDED_BY(crit_capture_);
- RmsLevel rms_ GUARDED_BY(crit_capture_);
- int rms_interval_counter_ GUARDED_BY(crit_capture_) = 0;
+ RmsLevel capture_input_rms_ GUARDED_BY(crit_capture_);
+ RmsLevel capture_output_rms_ GUARDED_BY(crit_capture_);
+ int capture_rms_interval_counter_ GUARDED_BY(crit_capture_) = 0;
// Lock protection not needed.
std::unique_ptr<SwapQueue<std::vector<float>, RenderQueueItemVerifier<float>>>