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

Unified Diff: Source/core/platform/audio/ReverbConvolverStage.cpp

Issue 20294002: Fix trailing whitespace in .cpp, .h, and .idl files (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 7 years, 5 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 | « Source/core/platform/audio/ReverbConvolverStage.h ('k') | Source/core/platform/audio/ReverbInputBuffer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/audio/ReverbConvolverStage.cpp
diff --git a/Source/core/platform/audio/ReverbConvolverStage.cpp b/Source/core/platform/audio/ReverbConvolverStage.cpp
index 75c61dc2f4399c84651038be349209ae8bde25dc..e4c9954910c0639082bcbff51715c5b983d38f51 100644
--- a/Source/core/platform/audio/ReverbConvolverStage.cpp
+++ b/Source/core/platform/audio/ReverbConvolverStage.cpp
@@ -103,7 +103,7 @@ void ReverbConvolverStage::process(const float* source, size_t framesToProcess)
ASSERT(source);
if (!source)
return;
-
+
// Deal with pre-delay stream : note special handling of zero delay.
const float* preDelayedSource;
@@ -121,16 +121,16 @@ void ReverbConvolverStage::process(const float* source, size_t framesToProcess)
preDelayedDestination = m_preDelayBuffer.data() + m_preReadWriteIndex;
preDelayedSource = preDelayedDestination;
- temporaryBuffer = m_temporaryBuffer.data();
+ temporaryBuffer = m_temporaryBuffer.data();
} else {
// Zero delay
preDelayedDestination = 0;
preDelayedSource = source;
temporaryBuffer = m_preDelayBuffer.data();
-
+
isTemporaryBufferSafe = framesToProcess <= m_preDelayBuffer.size();
}
-
+
ASSERT(isTemporaryBufferSafe);
if (!isTemporaryBufferSafe)
return;
« no previous file with comments | « Source/core/platform/audio/ReverbConvolverStage.h ('k') | Source/core/platform/audio/ReverbInputBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698