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

Unified Diff: third_party/WebKit/Source/platform/audio/mac/FFTFrameMac.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
« no previous file with comments | « third_party/WebKit/Source/platform/audio/ffmpeg/FFTFrameFFMPEG.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/audio/mac/FFTFrameMac.cpp
diff --git a/third_party/WebKit/Source/platform/audio/mac/FFTFrameMac.cpp b/third_party/WebKit/Source/platform/audio/mac/FFTFrameMac.cpp
index 51d359018e2fb81e66420e52494e1aaf7d24098f..06131e56cee70d1889884fc304092bd69d155ab4 100644
--- a/third_party/WebKit/Source/platform/audio/mac/FFTFrameMac.cpp
+++ b/third_party/WebKit/Source/platform/audio/mac/FFTFrameMac.cpp
@@ -90,8 +90,9 @@ FFTFrame::~FFTFrame() {}
void FFTFrame::doFFT(const float* data) {
AudioFloatArray scaledData(m_FFTSize);
- // veclib fft returns a result that is twice as large as would be expected. Compensate for that
- // by scaling the input by half so the FFT has the correct scaling.
+ // veclib fft returns a result that is twice as large as would be expected.
+ // Compensate for that by scaling the input by half so the FFT has the
+ // correct scaling.
float scale = 0.5f;
VectorMath::vsmul(data, 1, &scale, scaledData.data(), 1, m_FFTSize);
« no previous file with comments | « third_party/WebKit/Source/platform/audio/ffmpeg/FFTFrameFFMPEG.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698