| Index: Source/core/platform/audio/ReverbInputBuffer.cpp
|
| diff --git a/Source/core/platform/audio/ReverbInputBuffer.cpp b/Source/core/platform/audio/ReverbInputBuffer.cpp
|
| index 1e14de4325fdc4686b69d75f29c3c40c15403664..0a6dca7f80416b72814978601ab2a82b87eb90a9 100644
|
| --- a/Source/core/platform/audio/ReverbInputBuffer.cpp
|
| +++ b/Source/core/platform/audio/ReverbInputBuffer.cpp
|
| @@ -47,7 +47,7 @@ void ReverbInputBuffer::write(const float* sourceP, size_t numberOfFrames)
|
| ASSERT(isCopySafe);
|
| if (!isCopySafe)
|
| return;
|
| -
|
| +
|
| memcpy(m_buffer.data() + m_writeIndex, sourceP, sizeof(float) * numberOfFrames);
|
|
|
| m_writeIndex += numberOfFrames;
|
| @@ -68,7 +68,7 @@ float* ReverbInputBuffer::directReadFrom(int* readIndex, size_t numberOfFrames)
|
| *readIndex = 0;
|
| return m_buffer.data();
|
| }
|
| -
|
| +
|
| float* sourceP = m_buffer.data();
|
| float* p = sourceP + *readIndex;
|
|
|
|
|