| Index: third_party/WebKit/Source/platform/audio/ReverbInputBuffer.h
|
| diff --git a/third_party/WebKit/Source/platform/audio/ReverbInputBuffer.h b/third_party/WebKit/Source/platform/audio/ReverbInputBuffer.h
|
| index 681c5dca17e7b528ac5d6af836fe5d0def628352..dc9f643e7c3dec59ac0f4ac47892656daade7703 100644
|
| --- a/third_party/WebKit/Source/platform/audio/ReverbInputBuffer.h
|
| +++ b/third_party/WebKit/Source/platform/audio/ReverbInputBuffer.h
|
| @@ -36,7 +36,8 @@
|
|
|
| namespace blink {
|
|
|
| -// ReverbInputBuffer is used to buffer input samples for deferred processing by the background threads.
|
| +// ReverbInputBuffer is used to buffer input samples for deferred processing by
|
| +// the background threads.
|
| class PLATFORM_EXPORT ReverbInputBuffer {
|
| DISALLOW_NEW();
|
| WTF_MAKE_NONCOPYABLE(ReverbInputBuffer);
|
| @@ -45,16 +46,19 @@ class PLATFORM_EXPORT ReverbInputBuffer {
|
| ReverbInputBuffer(size_t length);
|
|
|
| // The realtime audio thread keeps writing samples here.
|
| - // The assumption is that the buffer's length is evenly divisible by numberOfFrames (for nearly all cases this will be fine).
|
| + // The assumption is that the buffer's length is evenly divisible by
|
| + // numberOfFrames (for nearly all cases this will be fine).
|
| // FIXME: remove numberOfFrames restriction...
|
| void write(const float* sourceP, size_t numberOfFrames);
|
|
|
| // Background threads can call this to check if there's anything to read...
|
| size_t writeIndex() const { return m_writeIndex; }
|
|
|
| - // The individual background threads read here (and hope that they can keep up with the buffer writing).
|
| + // The individual background threads read here (and hope that they can keep up
|
| + // with the buffer writing).
|
| // readIndex is updated with the next readIndex to read from...
|
| - // The assumption is that the buffer's length is evenly divisible by numberOfFrames.
|
| + // The assumption is that the buffer's length is evenly divisible by
|
| + // numberOfFrames.
|
| // FIXME: remove numberOfFrames restriction...
|
| float* directReadFrom(int* readIndex, size_t numberOfFrames);
|
|
|
|
|