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

Unified Diff: third_party/WebKit/Source/platform/audio/FFTFrame.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/FFTFrame.cpp
diff --git a/third_party/WebKit/Source/platform/audio/FFTFrame.cpp b/third_party/WebKit/Source/platform/audio/FFTFrame.cpp
index 33cb1938dd80795f276126efcd23a868bb191b1d..322cf6e2829d00dcd856b7dc3aaa25551f359862 100644
--- a/third_party/WebKit/Source/platform/audio/FFTFrame.cpp
+++ b/third_party/WebKit/Source/platform/audio/FFTFrame.cpp
@@ -57,7 +57,8 @@ std::unique_ptr<FFTFrame> FFTFrame::createInterpolatedFrame(
newFrame->interpolateFrequencyComponents(frame1, frame2, x);
- // In the time-domain, the 2nd half of the response must be zero, to avoid circular convolution aliasing...
+ // In the time-domain, the 2nd half of the response must be zero, to avoid
+ // circular convolution aliasing...
int fftSize = newFrame->fftSize();
AudioFloatArray buffer(fftSize);
newFrame->doInverseFFT(buffer.data());
@@ -204,7 +205,8 @@ double FFTFrame::extractAverageGroupDelay() {
weightSum += mag;
}
- // Note how we invert the phase delta wrt frequency since this is how group delay is defined
+ // Note how we invert the phase delta wrt frequency since this is how group
+ // delay is defined
double ave = aveSum / weightSum;
double aveSampleDelay = -ave / samplePhaseDelay;
« no previous file with comments | « third_party/WebKit/Source/platform/audio/FFTFrame.h ('k') | third_party/WebKit/Source/platform/audio/HRTFDatabase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698