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

Unified Diff: third_party/WebKit/Source/platform/audio/ReverbInputBuffer.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/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);

Powered by Google App Engine
This is Rietveld 408576698