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

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

Issue 1654443004: Surface the noise estimate of the NS to be used by other components (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix normalization factor Created 4 years, 10 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
« no previous file with comments | « no previous file | webrtc/modules/audio_processing/include/mock_audio_processing.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 bf3565d9ffbb748c1d7bba0d22fbd6924cb1ed7e..138259cf9600a56a5028232f1270b617ca4dfa8c 100644
--- a/webrtc/modules/audio_processing/include/audio_processing.h
+++ b/webrtc/modules/audio_processing/include/audio_processing.h
@@ -915,6 +915,9 @@ class NoiseSuppression {
// which |kUnsupportedFunctionError| is returned.
virtual float speech_probability() const = 0;
+ // Returns the noise estimate per frequency bin averaged over all channels.
+ virtual std::vector<float> NoiseEstimate() = 0;
+
protected:
virtual ~NoiseSuppression() {}
};
« no previous file with comments | « no previous file | webrtc/modules/audio_processing/include/mock_audio_processing.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698