OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010, Google Inc. All rights reserved. | 2 * Copyright (C) 2010, Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 10 matching lines...) Expand all Loading... |
21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | 21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
22 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 22 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
23 */ | 23 */ |
24 | 24 |
25 #include "config.h" | 25 #include "config.h" |
26 | 26 |
27 #if ENABLE(WEB_AUDIO) | 27 #if ENABLE(WEB_AUDIO) |
28 | 28 |
29 #include "modules/webaudio/BiquadDSPKernel.h" | 29 #include "modules/webaudio/BiquadDSPKernel.h" |
30 | 30 |
31 #include "modules/webaudio/BiquadProcessor.h" | |
32 #include "platform/FloatConversion.h" | 31 #include "platform/FloatConversion.h" |
33 #include <limits.h> | 32 #include <limits.h> |
34 #include "wtf/Vector.h" | 33 #include "wtf/Vector.h" |
35 | 34 |
36 namespace WebCore { | 35 namespace WebCore { |
37 | 36 |
38 // FIXME: As a recursive linear filter, depending on its parameters, a biquad fi
lter can have | 37 // FIXME: As a recursive linear filter, depending on its parameters, a biquad fi
lter can have |
39 // an infinite tailTime. In practice, Biquad filters do not usually (except for
very high resonance values) | 38 // an infinite tailTime. In practice, Biquad filters do not usually (except for
very high resonance values) |
40 // have a tailTime of longer than approx. 200ms. This value could possibly be ca
lculated based on the | 39 // have a tailTime of longer than approx. 200ms. This value could possibly be ca
lculated based on the |
41 // settings of the Biquad. | 40 // settings of the Biquad. |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 } | 158 } |
160 | 159 |
161 double BiquadDSPKernel::latencyTime() const | 160 double BiquadDSPKernel::latencyTime() const |
162 { | 161 { |
163 return 0; | 162 return 0; |
164 } | 163 } |
165 | 164 |
166 } // namespace WebCore | 165 } // namespace WebCore |
167 | 166 |
168 #endif // ENABLE(WEB_AUDIO) | 167 #endif // ENABLE(WEB_AUDIO) |
OLD | NEW |