Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(941)

Unified Diff: third_party/WebKit/Source/platform/audio/ReverbAccumulationBuffer.h

Issue 2384073002: reflow comments in platform/audio (Closed)
Patch Set: comments (heh!) Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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,
« no previous file with comments | « third_party/WebKit/Source/platform/audio/Reverb.cpp ('k') | third_party/WebKit/Source/platform/audio/ReverbConvolver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698