| Index: Source/modules/webaudio/RealtimeAnalyser.h
|
| diff --git a/Source/modules/webaudio/RealtimeAnalyser.h b/Source/modules/webaudio/RealtimeAnalyser.h
|
| index 67b71a2bcaf23c261d1791099d2c9151b11611fa..87e7fda037a105751b331f0c6354f0d90843f807 100644
|
| --- a/Source/modules/webaudio/RealtimeAnalyser.h
|
| +++ b/Source/modules/webaudio/RealtimeAnalyser.h
|
| @@ -45,14 +45,14 @@ public:
|
|
|
| unsigned frequencyBinCount() const { return m_fftSize / 2; }
|
|
|
| - void setMinDecibels(float k) { m_minDecibels = k; }
|
| - float minDecibels() const { return static_cast<float>(m_minDecibels); }
|
| + void setMinDecibels(double k) { m_minDecibels = k; }
|
| + double minDecibels() const { return m_minDecibels; }
|
|
|
| - void setMaxDecibels(float k) { m_maxDecibels = k; }
|
| - float maxDecibels() const { return static_cast<float>(m_maxDecibels); }
|
| + void setMaxDecibels(double k) { m_maxDecibels = k; }
|
| + double maxDecibels() const { return m_maxDecibels; }
|
|
|
| - void setSmoothingTimeConstant(float k) { m_smoothingTimeConstant = k; }
|
| - float smoothingTimeConstant() const { return static_cast<float>(m_smoothingTimeConstant); }
|
| + void setSmoothingTimeConstant(double k) { m_smoothingTimeConstant = k; }
|
| + double smoothingTimeConstant() const { return m_smoothingTimeConstant; }
|
|
|
| void getFloatFrequencyData(Float32Array*);
|
| void getByteFrequencyData(Uint8Array*);
|
|
|