| Index: third_party/WebKit/Source/platform/audio/ReverbAccumulationBuffer.h
|
| diff --git a/third_party/WebKit/Source/platform/audio/ReverbAccumulationBuffer.h b/third_party/WebKit/Source/platform/audio/ReverbAccumulationBuffer.h
|
| index ab38a3f648559d0cd98c43c8d6b61997dbfe3426..a003db46d58d5592eb8b8a6f22c9bf49868eca26 100644
|
| --- a/third_party/WebKit/Source/platform/audio/ReverbAccumulationBuffer.h
|
| +++ b/third_party/WebKit/Source/platform/audio/ReverbAccumulationBuffer.h
|
| @@ -36,9 +36,11 @@
|
|
|
| namespace blink {
|
|
|
| -// ReverbAccumulationBuffer is a circular delay buffer with one client reading from it and multiple clients
|
| -// writing/accumulating to it at different delay offsets from the read position. The read operation will zero the memory
|
| -// just read from the buffer, so it will be ready for accumulation the next time around.
|
| +// ReverbAccumulationBuffer is a circular delay buffer with one client reading
|
| +// from it and multiple clients writing/accumulating to it at different delay
|
| +// offsets from the read position. The read operation will zero the memory
|
| +// just read from the buffer, so it will be ready for accumulation the next
|
| +// time around.
|
| class PLATFORM_EXPORT ReverbAccumulationBuffer {
|
| DISALLOW_NEW();
|
| WTF_MAKE_NONCOPYABLE(ReverbAccumulationBuffer);
|
| @@ -49,9 +51,11 @@ class PLATFORM_EXPORT ReverbAccumulationBuffer {
|
| // This will read from, then clear-out numberOfFrames
|
| void readAndClear(float* destination, size_t numberOfFrames);
|
|
|
| - // Each ReverbConvolverStage will accumulate its output at the appropriate delay from the read position.
|
| - // We need to pass in and update readIndex here, since each ReverbConvolverStage may be running in
|
| - // a different thread than the realtime thread calling ReadAndClear() and maintaining m_readIndex
|
| + // Each ReverbConvolverStage will accumulate its output at the appropriate
|
| + // delay from the read position. We need to pass in and update readIndex
|
| + // here, since each ReverbConvolverStage may be running in a different thread
|
| + // than the realtime thread calling ReadAndClear() and maintaining
|
| + // m_readIndex
|
| // Returns the writeIndex where the accumulation took place
|
| int accumulate(float* source,
|
| size_t numberOfFrames,
|
|
|