Index: third_party/WebKit/Source/platform/audio/IIRFilter.h |
diff --git a/third_party/WebKit/Source/platform/audio/IIRFilter.h b/third_party/WebKit/Source/platform/audio/IIRFilter.h |
index de2d3c6b8bee9cbfc10fe25db6dc118485fb0859..173d21e846792d877ad63ef6c1d7c240d9d53dbd 100644 |
--- a/third_party/WebKit/Source/platform/audio/IIRFilter.h |
+++ b/third_party/WebKit/Source/platform/audio/IIRFilter.h |
@@ -30,6 +30,12 @@ class PLATFORM_EXPORT IIRFilter final { |
float* mag_response, |
float* phase_response); |
+ // Compute the tail time of the IIR filter |
+ double TailTime(double sample_rate); |
hongchan
2017/05/12 16:24:05
What's the frequency of this computation?
On a re
Raymond Toy
2017/05/12 17:33:18
I don't quite understand this question? The TailT
hongchan
2017/05/12 17:36:45
You answered this above. We compute just once.
|
+ |
+ // Reset the internal state of the IIR filter to the initial state. |
+ void ResetState(); |
+ |
private: |
// Filter memory |
// |