Add AudioProcessingCaptureStats and a level estimator replacement
This adds an interface for accessing stats on the capture stream, and adds a level estimator to report one of the stats. Bug: webrtc:9947 Change-Id: Id472534fa2e04d46c9ab700671f620584a246afb Reviewed-on: https://webrtc-review.googlesource.com/c/109587 Commit-Queue: Sam Zackrisson <saza@webrtc.org> Reviewed-by: Per Åhgren <peah@webrtc.org> Cr-Commit-Position: refs/heads/master@{#25786}
This commit is contained in:

committed by
Commit Bot

parent
2918d4e309
commit
b24c00f02d
@ -18,6 +18,7 @@
|
||||
#include "modules/audio_processing/audio_buffer.h"
|
||||
#include "modules/audio_processing/include/aec_dump.h"
|
||||
#include "modules/audio_processing/include/audio_processing.h"
|
||||
#include "modules/audio_processing/include/audio_processing_statistics.h"
|
||||
#include "modules/audio_processing/render_queue_item_verifier.h"
|
||||
#include "modules/audio_processing/rms_level.h"
|
||||
#include "rtc_base/criticalsection.h"
|
||||
@ -390,6 +391,7 @@ class AudioProcessingImpl : public AudioProcessing {
|
||||
bool echo_path_gain_change;
|
||||
int prev_analog_mic_level;
|
||||
float prev_pre_amp_gain;
|
||||
AudioProcessingStats stats;
|
||||
} capture_ RTC_GUARDED_BY(crit_capture_);
|
||||
|
||||
struct ApmCaptureNonLockedState {
|
||||
|
Reference in New Issue
Block a user