OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011, Google Inc. All rights reserved. | 2 * Copyright (C) 2011, 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 22 matching lines...) Expand all Loading... |
33 namespace blink { | 33 namespace blink { |
34 | 34 |
35 class BaseAudioContext; | 35 class BaseAudioContext; |
36 class AudioParam; | 36 class AudioParam; |
37 class BiquadFilterOptions; | 37 class BiquadFilterOptions; |
38 | 38 |
39 class BiquadFilterNode final : public AudioNode { | 39 class BiquadFilterNode final : public AudioNode { |
40 DEFINE_WRAPPERTYPEINFO(); | 40 DEFINE_WRAPPERTYPEINFO(); |
41 | 41 |
42 public: | 42 public: |
43 // These must be defined as in the .idl file and must match those in the Biqua
dProcessor class. | 43 // These must be defined as in the .idl file and must match those in the |
| 44 // BiquadProcessor class. |
44 enum { | 45 enum { |
45 LOWPASS = 0, | 46 LOWPASS = 0, |
46 HIGHPASS = 1, | 47 HIGHPASS = 1, |
47 BANDPASS = 2, | 48 BANDPASS = 2, |
48 LOWSHELF = 3, | 49 LOWSHELF = 3, |
49 HIGHSHELF = 4, | 50 HIGHSHELF = 4, |
50 PEAKING = 5, | 51 PEAKING = 5, |
51 NOTCH = 6, | 52 NOTCH = 6, |
52 ALLPASS = 7 | 53 ALLPASS = 7 |
53 }; | 54 }; |
(...skipping 27 matching lines...) Expand all Loading... |
81 | 82 |
82 Member<AudioParam> m_frequency; | 83 Member<AudioParam> m_frequency; |
83 Member<AudioParam> m_q; | 84 Member<AudioParam> m_q; |
84 Member<AudioParam> m_gain; | 85 Member<AudioParam> m_gain; |
85 Member<AudioParam> m_detune; | 86 Member<AudioParam> m_detune; |
86 }; | 87 }; |
87 | 88 |
88 } // namespace blink | 89 } // namespace blink |
89 | 90 |
90 #endif // BiquadFilterNode_h | 91 #endif // BiquadFilterNode_h |
OLD | NEW |