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

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

Issue 212793002: Fix attributes types on AnalyserNode as specification of web audio. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add compatibility.js Created 6 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 | « LayoutTests/webaudio/realtimeanalyser-basic-expected.txt ('k') | Source/modules/webaudio/AnalyserNode.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/AnalyserNode.h
diff --git a/Source/modules/webaudio/AnalyserNode.h b/Source/modules/webaudio/AnalyserNode.h
index 10a0e8aa7c7a66211c1100502c14ab8e339008a6..6c7ecaf0829c61de48acebf537d868a6cd3ed25d 100644
--- a/Source/modules/webaudio/AnalyserNode.h
+++ b/Source/modules/webaudio/AnalyserNode.h
@@ -51,14 +51,14 @@ public:
unsigned frequencyBinCount() const { return m_analyser.frequencyBinCount(); }
- void setMinDecibels(float k, ExceptionState&);
- float minDecibels() const { return m_analyser.minDecibels(); }
+ void setMinDecibels(double k, ExceptionState&);
+ double minDecibels() const { return m_analyser.minDecibels(); }
- void setMaxDecibels(float k, ExceptionState&);
- float maxDecibels() const { return m_analyser.maxDecibels(); }
+ void setMaxDecibels(double k, ExceptionState&);
+ double maxDecibels() const { return m_analyser.maxDecibels(); }
- void setSmoothingTimeConstant(float k, ExceptionState&);
- float smoothingTimeConstant() const { return m_analyser.smoothingTimeConstant(); }
+ void setSmoothingTimeConstant(double k, ExceptionState&);
+ double smoothingTimeConstant() const { return m_analyser.smoothingTimeConstant(); }
void getFloatFrequencyData(Float32Array* array) { m_analyser.getFloatFrequencyData(array); }
void getByteFrequencyData(Uint8Array* array) { m_analyser.getByteFrequencyData(array); }
« no previous file with comments | « LayoutTests/webaudio/realtimeanalyser-basic-expected.txt ('k') | Source/modules/webaudio/AnalyserNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698