Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1671)

Unified Diff: Source/modules/webaudio/BiquadFilterNode.h

Issue 1017983003: Web Audio: Rename AudioParam class to AudioParamHandler. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/webaudio/AudioParam.cpp ('k') | Source/modules/webaudio/DelayNode.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/BiquadFilterNode.h
diff --git a/Source/modules/webaudio/BiquadFilterNode.h b/Source/modules/webaudio/BiquadFilterNode.h
index 2c5f0762696ea4a1574dc56b720443d9c10b1ef0..8d3cba59162355170d7000f15b3207db7bbb67c2 100644
--- a/Source/modules/webaudio/BiquadFilterNode.h
+++ b/Source/modules/webaudio/BiquadFilterNode.h
@@ -31,7 +31,7 @@
namespace blink {
-class AudioParam;
+class AudioParamHandler;
class BiquadFilterNode final : public AudioBasicProcessorNode {
DEFINE_WRAPPERTYPEINFO();
@@ -56,10 +56,10 @@ public:
String type() const;
void setType(const String&);
- AudioParam* frequency() { return biquadProcessor()->parameter1(); }
- AudioParam* q() { return biquadProcessor()->parameter2(); }
- AudioParam* gain() { return biquadProcessor()->parameter3(); }
- AudioParam* detune() { return biquadProcessor()->parameter4(); }
+ AudioParamHandler* frequency() { return biquadProcessor()->parameter1(); }
+ AudioParamHandler* q() { return biquadProcessor()->parameter2(); }
+ AudioParamHandler* gain() { return biquadProcessor()->parameter3(); }
+ AudioParamHandler* detune() { return biquadProcessor()->parameter4(); }
// Get the magnitude and phase response of the filter at the given
// set of frequencies (in Hz). The phase response is in radians.
« no previous file with comments | « Source/modules/webaudio/AudioParam.cpp ('k') | Source/modules/webaudio/DelayNode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698