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

Unified Diff: webrtc/modules/audio_processing/include/audio_processing.h

Issue 1766383002: Convert IntelligibilityEnhancer to multi-threaded mode (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 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/include/audio_processing.h
diff --git a/webrtc/modules/audio_processing/include/audio_processing.h b/webrtc/modules/audio_processing/include/audio_processing.h
index 8af5f53e1eb99135072b5592e48694e102587797..04c3347bf7adcbd57ad6cc4c1baf83805c7d03b1 100644
--- a/webrtc/modules/audio_processing/include/audio_processing.h
+++ b/webrtc/modules/audio_processing/include/audio_processing.h
@@ -929,6 +929,9 @@ class NoiseSuppression {
// Returns the noise estimate per frequency bin averaged over all channels.
virtual std::vector<float> NoiseEstimate() = 0;
+ // Returns the number of bins of the noise estimate.
+ virtual size_t num_noise_bins() const = 0;
peah-webrtc 2016/03/08 07:02:38 I don't think we should put methods in here unless
hlundin-webrtc 2016/03/08 10:28:48 Acknowledged.
aluebs-webrtc 2016/03/08 10:53:00 Good point. Done.
+
protected:
virtual ~NoiseSuppression() {}
};

Powered by Google App Engine
This is Rietveld 408576698