commit | fa639f0bb31febce6ebf7f21edbb4d69f4885f13 | [log] [tgz] |
---|---|---|
author | Alejandro Luebs <aluebs@webrtc.org> | Tue Feb 09 11:24:32 2016 -0800 |
committer | Alejandro Luebs <aluebs@webrtc.org> | Tue Feb 09 19:24:51 2016 +0000 |
tree | a3e6b42ed3f347f42172d9c13e07781fe7482d88 | |
parent | 78ddd733b05c20b0f58216f899f5d07c368647b1 [diff] [blame] |
Surface the noise estimate of the NS to be used by other components R=henrik.lundin@webrtc.org, turaj@webrtc.org Review URL: https://codereview.webrtc.org/1654443004 . Cr-Commit-Position: refs/heads/master@{#11541}
diff --git a/webrtc/modules/audio_processing/include/audio_processing.h b/webrtc/modules/audio_processing/include/audio_processing.h index bf3565d..138259c 100644 --- a/webrtc/modules/audio_processing/include/audio_processing.h +++ b/webrtc/modules/audio_processing/include/audio_processing.h
@@ -915,6 +915,9 @@ // 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() {} };