| Index: third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.cpp
|
| diff --git a/third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.cpp b/third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.cpp
|
| index 24af794c3037d5967eea07a07b0568ca491d7ff4..79b2151d9eef084b6ad8e7a3eef0498a32de9b38 100644
|
| --- a/third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.cpp
|
| +++ b/third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.cpp
|
| @@ -29,7 +29,6 @@
|
| #include "modules/webaudio/AudioBufferSourceNode.h"
|
| #include "modules/webaudio/AudioNodeOutput.h"
|
| #include "modules/webaudio/BaseAudioContext.h"
|
| -#include "platform/FloatConversion.h"
|
| #include "platform/audio/AudioUtilities.h"
|
| #include "wtf/MathExtras.h"
|
| #include "wtf/PtrUtil.h"
|
| @@ -315,7 +314,7 @@ bool AudioBufferSourceHandler::renderFromBuffer(AudioBus* bus, unsigned destinat
|
| double sample2 = source[readIndex2];
|
| double sample = (1.0 - interpolationFactor) * sample1 + interpolationFactor * sample2;
|
|
|
| - destination[writeIndex] = narrowPrecisionToFloat(sample);
|
| + destination[writeIndex] = clampTo<float>(sample);
|
| }
|
| writeIndex++;
|
|
|
|
|