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

Unified Diff: Source/core/platform/audio/HRTFPanner.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/HRTFKernel.cpp ('k') | Source/core/platform/audio/MultiChannelResampler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/audio/HRTFPanner.cpp
diff --git a/Source/core/platform/audio/HRTFPanner.cpp b/Source/core/platform/audio/HRTFPanner.cpp
index 9234fedb415384ebaf8a34398e2e639b12c9192f..db7f2d886638063627c597c9d0dafaaee4cbd249 100644
--- a/Source/core/platform/audio/HRTFPanner.cpp
+++ b/Source/core/platform/audio/HRTFPanner.cpp
@@ -247,7 +247,7 @@ void HRTFPanner::pan(double desiredAzimuth, double elevation, const AudioBus* in
m_delayLineR.process(segmentSourceR, segmentDestinationR, framesPerSegment);
bool needsCrossfading = m_crossfadeIncr;
-
+
// Have the convolvers render directly to the final destination if we're not cross-fading.
float* convolutionDestinationL1 = needsCrossfading ? m_tempL1.data() : segmentDestinationL;
float* convolutionDestinationR1 = needsCrossfading ? m_tempR1.data() : segmentDestinationR;
@@ -256,7 +256,7 @@ void HRTFPanner::pan(double desiredAzimuth, double elevation, const AudioBus* in
// Now do the convolutions.
// Note that we avoid doing convolutions on both sets of convolvers if we're not currently cross-fading.
-
+
if (m_crossfadeSelection == CrossfadeSelection1 || needsCrossfading) {
m_convolverL1.process(kernelL1->fftFrame(), segmentDestinationL, convolutionDestinationL1, framesPerSegment);
m_convolverR1.process(kernelR1->fftFrame(), segmentDestinationR, convolutionDestinationR1, framesPerSegment);
@@ -266,7 +266,7 @@ void HRTFPanner::pan(double desiredAzimuth, double elevation, const AudioBus* in
m_convolverL2.process(kernelL2->fftFrame(), segmentDestinationL, convolutionDestinationL2, framesPerSegment);
m_convolverR2.process(kernelR2->fftFrame(), segmentDestinationR, convolutionDestinationR2, framesPerSegment);
}
-
+
if (needsCrossfading) {
// Apply linear cross-fade.
float x = m_crossfadeX;
« no previous file with comments | « Source/core/platform/audio/HRTFKernel.cpp ('k') | Source/core/platform/audio/MultiChannelResampler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698