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

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: Created 4 years, 11 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 bf3565d9ffbb748c1d7bba0d22fbd6924cb1ed7e..65e90fea3c737e54a0330a8b324f010ce02c0e05 100644
--- a/webrtc/modules/audio_processing/include/audio_processing.h
+++ b/webrtc/modules/audio_processing/include/audio_processing.h
@@ -915,6 +915,10 @@ class NoiseSuppression {
// which |kUnsupportedFunctionError| is returned.
virtual float speech_probability() const = 0;
+ // Returns the noise estimate per frequency bin of current chunk averaged
turaj 2016/02/05 01:47:58 Isn't it some sort of noise power averaged over so
aluebs-webrtc 2016/02/06 00:12:27 No, it actually estimates it smoothly over time. G
+ // over all channels.
+ virtual const std::vector<float>& noise_estimate() = 0;
+
protected:
virtual ~NoiseSuppression() {}
};

Powered by Google App Engine
This is Rietveld 408576698