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

Unified Diff: third_party/WebKit/Source/platform/audio/UpSampler.cpp

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/UpSampler.cpp
diff --git a/third_party/WebKit/Source/platform/audio/UpSampler.cpp b/third_party/WebKit/Source/platform/audio/UpSampler.cpp
index 2d2e04479849db3cec62494ceb114dad9eb71176..8b5e5a36d53557063080e69c48ce779788e842c1 100644
--- a/third_party/WebKit/Source/platform/audio/UpSampler.cpp
+++ b/third_party/WebKit/Source/platform/audio/UpSampler.cpp
@@ -98,7 +98,8 @@ void UpSampler::process(const float* sourceP,
float* inputP = m_inputBuffer.data() + sourceFramesToProcess;
memcpy(inputP, sourceP, sizeof(float) * sourceFramesToProcess);
- // Copy even sample-frames 0,2,4,6... (delayed by the linear phase delay) directly into destP.
+ // Copy even sample-frames 0,2,4,6... (delayed by the linear phase delay)
+ // directly into destP.
for (unsigned i = 0; i < sourceFramesToProcess; ++i)
destP[i * 2] = *((inputP - halfSize) + i);
@@ -119,7 +120,8 @@ void UpSampler::reset() {
}
size_t UpSampler::latencyFrames() const {
- // Divide by two since this is a linear phase kernel and the delay is at the center of the kernel.
+ // Divide by two since this is a linear phase kernel and the delay is at the
+ // center of the kernel.
return m_kernel.size() / 2;
}
« no previous file with comments | « third_party/WebKit/Source/platform/audio/UpSampler.h ('k') | third_party/WebKit/Source/platform/audio/VectorMath.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698