Index: Source/modules/webaudio/AudioBuffer.cpp |
diff --git a/Source/modules/webaudio/AudioBuffer.cpp b/Source/modules/webaudio/AudioBuffer.cpp |
index 7d7a4637f72525a6e934ffe8da9bf9fa4bc9c9d5..52a18a3b88044e44d0aca021b10e884760f352db 100644 |
--- a/Source/modules/webaudio/AudioBuffer.cpp |
+++ b/Source/modules/webaudio/AudioBuffer.cpp |
@@ -82,8 +82,7 @@ bool AudioBuffer::createdSuccessfully(unsigned desiredNumberOfChannels) const |
} |
AudioBuffer::AudioBuffer(unsigned numberOfChannels, size_t numberOfFrames, float sampleRate) |
- : m_gain(1.0) |
- , m_sampleRate(sampleRate) |
+ : m_sampleRate(sampleRate) |
, m_length(numberOfFrames) |
{ |
ScriptWrappable::init(this); |
@@ -103,8 +102,7 @@ AudioBuffer::AudioBuffer(unsigned numberOfChannels, size_t numberOfFrames, float |
} |
AudioBuffer::AudioBuffer(AudioBus* bus) |
- : m_gain(1.0) |
- , m_sampleRate(bus->sampleRate()) |
+ : m_sampleRate(bus->sampleRate()) |
, m_length(bus->length()) |
{ |
ScriptWrappable::init(this); |