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

Unified Diff: third_party/WebKit/Source/platform/audio/AudioDSPKernelProcessor.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/AudioDSPKernelProcessor.cpp
diff --git a/third_party/WebKit/Source/platform/audio/AudioDSPKernelProcessor.cpp b/third_party/WebKit/Source/platform/audio/AudioDSPKernelProcessor.cpp
index 391d3943fb760c4096a5cc8dfd4fe16f8eef631b..42ee47843cc8110f404cb7df1890b238649714e2 100644
--- a/third_party/WebKit/Source/platform/audio/AudioDSPKernelProcessor.cpp
+++ b/third_party/WebKit/Source/platform/audio/AudioDSPKernelProcessor.cpp
@@ -33,7 +33,8 @@
namespace blink {
-// setNumberOfChannels() may later be called if the object is not yet in an "initialized" state.
+// setNumberOfChannels() may later be called if the object is not yet in an
+// "initialized" state.
AudioDSPKernelProcessor::AudioDSPKernelProcessor(float sampleRate,
unsigned numberOfChannels)
: AudioProcessor(sampleRate, numberOfChannels), m_hasJustReset(true) {}
@@ -102,7 +103,8 @@ void AudioDSPKernelProcessor::reset() {
return;
// Forces snap to parameter values - first time.
- // Any processing depending on this value must set it to false at the appropriate time.
+ // Any processing depending on this value must set it to false at the
+ // appropriate time.
m_hasJustReset = true;
MutexLocker locker(m_processLock);
@@ -126,8 +128,8 @@ double AudioDSPKernelProcessor::tailTime() const {
// It is expected that all the kernels have the same tailTime.
return !m_kernels.isEmpty() ? m_kernels.first()->tailTime() : 0;
}
- // Since we don't want to block the Audio Device thread, we return a large value
- // instead of trying to acquire the lock.
+ // Since we don't want to block the Audio Device thread, we return a large
+ // value instead of trying to acquire the lock.
return std::numeric_limits<double>::infinity();
}
@@ -138,8 +140,8 @@ double AudioDSPKernelProcessor::latencyTime() const {
// It is expected that all the kernels have the same latencyTime.
return !m_kernels.isEmpty() ? m_kernels.first()->latencyTime() : 0;
}
- // Since we don't want to block the Audio Device thread, we return a large value
- // instead of trying to acquire the lock.
+ // Since we don't want to block the Audio Device thread, we return a large
+ // value instead of trying to acquire the lock.
return std::numeric_limits<double>::infinity();
}

Powered by Google App Engine
This is Rietveld 408576698