OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef IIRFilterNode_h | 5 #ifndef IIRFilterNode_h |
6 #define IIRFilterNode_h | 6 #define IIRFilterNode_h |
7 | 7 |
8 #include "core/dom/DOMTypedArray.h" | 8 #include "core/dom/DOMTypedArray.h" |
9 #include "modules/webaudio/AudioNode.h" | 9 #include "modules/webaudio/AudioNode.h" |
10 #include "modules/webaudio/IIRProcessor.h" | 10 #include "modules/webaudio/IIRProcessor.h" |
(...skipping 15 matching lines...) Expand all Loading... |
26 // Get the magnitude and phase response of the filter at the given | 26 // Get the magnitude and phase response of the filter at the given |
27 // set of frequencies (in Hz). The phase response is in radians. | 27 // set of frequencies (in Hz). The phase response is in radians. |
28 void getFrequencyResponse(const DOMFloat32Array* frequencyHz, DOMFloat32Arra
y* magResponse, DOMFloat32Array* phaseResponse, ExceptionState&); | 28 void getFrequencyResponse(const DOMFloat32Array* frequencyHz, DOMFloat32Arra
y* magResponse, DOMFloat32Array* phaseResponse, ExceptionState&); |
29 | 29 |
30 private: | 30 private: |
31 IIRFilterNode(AbstractAudioContext&, float sampleRate, const Vector<double>
denominator, const Vector<double> numerator); | 31 IIRFilterNode(AbstractAudioContext&, float sampleRate, const Vector<double>
denominator, const Vector<double> numerator); |
32 | 32 |
33 IIRProcessor* iirProcessor() const; | 33 IIRProcessor* iirProcessor() const; |
34 }; | 34 }; |
35 | 35 |
36 } | 36 } // namespace blink |
37 | 37 |
38 #endif // IIRFilterNode_h | 38 #endif // IIRFilterNode_h |
OLD | NEW |