| Index: third_party/WebKit/Source/platform/audio/AudioResamplerKernel.cpp
|
| diff --git a/third_party/WebKit/Source/platform/audio/AudioResamplerKernel.cpp b/third_party/WebKit/Source/platform/audio/AudioResamplerKernel.cpp
|
| index b400b1cbb4fa5c534340653bd0a68b093019c6f4..1225e5cb72753694a00155ca16f919a344d23ac1 100644
|
| --- a/third_party/WebKit/Source/platform/audio/AudioResamplerKernel.cpp
|
| +++ b/third_party/WebKit/Source/platform/audio/AudioResamplerKernel.cpp
|
| @@ -94,8 +94,9 @@ void AudioResamplerKernel::process(float* destination, size_t framesToProcess) {
|
| // Sanity check source buffer access.
|
| ASSERT(framesToProcess > 0);
|
| ASSERT(virtualReadIndex >= 0 &&
|
| - 1 + static_cast<unsigned>(virtualReadIndex +
|
| - (framesToProcess - 1) * rate) <
|
| + 1 +
|
| + static_cast<unsigned>(virtualReadIndex +
|
| + (framesToProcess - 1) * rate) <
|
| m_sourceBuffer.size());
|
|
|
| // Do the linear interpolation.
|
|
|