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

Unified Diff: Source/core/platform/audio/AudioDSPKernelProcessor.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/AudioChannel.h ('k') | Source/core/platform/audio/AudioFIFO.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/audio/AudioDSPKernelProcessor.cpp
diff --git a/Source/core/platform/audio/AudioDSPKernelProcessor.cpp b/Source/core/platform/audio/AudioDSPKernelProcessor.cpp
index f7544a09138e4cef094e7c4936558b1facd90f47..0875464968f0ca5e4b05204984eafa73a8117d15 100644
--- a/Source/core/platform/audio/AudioDSPKernelProcessor.cpp
+++ b/Source/core/platform/audio/AudioDSPKernelProcessor.cpp
@@ -55,7 +55,7 @@ void AudioDSPKernelProcessor::initialize()
// Create processing kernels, one per channel.
for (unsigned i = 0; i < numberOfChannels(); ++i)
m_kernels.append(createKernel());
-
+
m_initialized = true;
m_hasJustReset = true;
}
@@ -64,7 +64,7 @@ void AudioDSPKernelProcessor::uninitialize()
{
if (!isInitialized())
return;
-
+
m_kernels.clear();
m_initialized = false;
@@ -75,7 +75,7 @@ void AudioDSPKernelProcessor::process(const AudioBus* source, AudioBus* destinat
ASSERT(source && destination);
if (!source || !destination)
return;
-
+
if (!isInitialized()) {
destination->zero();
return;
@@ -85,7 +85,7 @@ void AudioDSPKernelProcessor::process(const AudioBus* source, AudioBus* destinat
ASSERT(channelCountMatches);
if (!channelCountMatches)
return;
-
+
for (unsigned i = 0; i < m_kernels.size(); ++i)
m_kernels[i]->process(source->channel(i)->data(), destination->channel(i)->mutableData(), framesToProcess);
}
@@ -108,7 +108,7 @@ void AudioDSPKernelProcessor::setNumberOfChannels(unsigned numberOfChannels)
{
if (numberOfChannels == m_numberOfChannels)
return;
-
+
ASSERT(!isInitialized());
if (!isInitialized())
m_numberOfChannels = numberOfChannels;
« no previous file with comments | « Source/core/platform/audio/AudioChannel.h ('k') | Source/core/platform/audio/AudioFIFO.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698