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

Unified Diff: Source/core/platform/audio/Reverb.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/Reverb.h ('k') | Source/core/platform/audio/ReverbAccumulationBuffer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/audio/Reverb.cpp
diff --git a/Source/core/platform/audio/Reverb.cpp b/Source/core/platform/audio/Reverb.cpp
index 2eb9a6cc1424ce0394da567245d6a1c98b145493..488618408a00c5a7f38b7b8021d86663d297e850 100644
--- a/Source/core/platform/audio/Reverb.cpp
+++ b/Source/core/platform/audio/Reverb.cpp
@@ -54,7 +54,7 @@ const float GainCalibrationSampleRate = 44100;
// A minimum power value to when normalizing a silent (or very quiet) impulse response
const float MinPower = 0.000125f;
-
+
static float calculateNormalizationScale(AudioBus* response)
{
// Normalize by RMS power
@@ -139,8 +139,8 @@ void Reverb::process(const AudioBus* sourceBus, AudioBus* destinationBus, size_t
// Do a fairly comprehensive sanity check.
// If these conditions are satisfied, all of the source and destination pointers will be valid for the various matrixing cases.
bool isSafeToProcess = sourceBus && destinationBus && sourceBus->numberOfChannels() > 0 && destinationBus->numberOfChannels() > 0
- && framesToProcess <= MaxFrameSize && framesToProcess <= sourceBus->length() && framesToProcess <= destinationBus->length();
-
+ && framesToProcess <= MaxFrameSize && framesToProcess <= sourceBus->length() && framesToProcess <= destinationBus->length();
+
ASSERT(isSafeToProcess);
if (!isSafeToProcess)
return;
« no previous file with comments | « Source/core/platform/audio/Reverb.h ('k') | Source/core/platform/audio/ReverbAccumulationBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698