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

Unified Diff: webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.h

Issue 2104273002: Add logging to Intelligibility Enhancer (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Log active percentage 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
Index: webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.h
diff --git a/webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.h b/webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.h
index 389f6ae5679cd7e01080c9892ba972c202fc3d0c..dd34201fbd179acd1264eef9dba332d61dc28525 100644
--- a/webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.h
+++ b/webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.h
@@ -35,6 +35,8 @@ class IntelligibilityEnhancer : public LappedTransform::Callback {
size_t num_render_channels,
size_t num_noise_bins);
+ ~IntelligibilityEnhancer();
+
// Sets the capture noise magnitude spectrum estimate.
void SetCaptureNoiseEstimate(std::vector<float> noise, int gain_db);
@@ -112,7 +114,8 @@ class IntelligibilityEnhancer : public LappedTransform::Callback {
float snr_;
bool is_active_;
- size_t num_chunks_;
+ unsigned long int num_chunks_;
+ unsigned long int num_active_chunks_;
std::vector<float> noise_estimation_buffer_;
SwapQueue<std::vector<float>, RenderQueueItemVerifier<float>>

Powered by Google App Engine
This is Rietveld 408576698