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() {} |
}; |