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

Unified Diff: Source/modules/webaudio/ChannelSplitterNode.cpp

Issue 20300002: Fix trailing whitespace in .cpp, .h, and .idl files (ex. Source/core) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/modules/webaudio/ChannelSplitterNode.h ('k') | Source/modules/webaudio/ConvolverNode.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/ChannelSplitterNode.cpp
diff --git a/Source/modules/webaudio/ChannelSplitterNode.cpp b/Source/modules/webaudio/ChannelSplitterNode.cpp
index 7d0b267df312bb43261dd092f8f67d30e783614e..4009ba4937389a9d97afdfbfd488867d248aa3f9 100644
--- a/Source/modules/webaudio/ChannelSplitterNode.cpp
+++ b/Source/modules/webaudio/ChannelSplitterNode.cpp
@@ -33,13 +33,13 @@
#include "modules/webaudio/AudioNodeOutput.h"
namespace WebCore {
-
+
PassRefPtr<ChannelSplitterNode> ChannelSplitterNode::create(AudioContext* context, float sampleRate, unsigned numberOfOutputs)
{
if (!numberOfOutputs || numberOfOutputs > AudioContext::maxNumberOfChannels())
return 0;
- return adoptRef(new ChannelSplitterNode(context, sampleRate, numberOfOutputs));
+ return adoptRef(new ChannelSplitterNode(context, sampleRate, numberOfOutputs));
}
ChannelSplitterNode::ChannelSplitterNode(AudioContext* context, float sampleRate, unsigned numberOfOutputs)
@@ -61,13 +61,13 @@ void ChannelSplitterNode::process(size_t framesToProcess)
AudioBus* source = input(0)->bus();
ASSERT(source);
ASSERT_UNUSED(framesToProcess, framesToProcess == source->length());
-
+
unsigned numberOfSourceChannels = source->numberOfChannels();
-
+
for (unsigned i = 0; i < numberOfOutputs(); ++i) {
AudioBus* destination = output(i)->bus();
ASSERT(destination);
-
+
if (i < numberOfSourceChannels) {
// Split the channel out if it exists in the source.
// It would be nice to avoid the copy and simply pass along pointers, but this becomes extremely difficult with fanout and fanin.
« no previous file with comments | « Source/modules/webaudio/ChannelSplitterNode.h ('k') | Source/modules/webaudio/ConvolverNode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698