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

Unified Diff: third_party/WebKit/Source/modules/webaudio/AudioNodeInput.h

Issue 2389253002: reflow comments in modules/{webaudio,vr} (Closed)
Patch Set: . Created 4 years, 2 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
Index: third_party/WebKit/Source/modules/webaudio/AudioNodeInput.h
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioNodeInput.h b/third_party/WebKit/Source/modules/webaudio/AudioNodeInput.h
index fb9b9ff9d6142dbcf8a3c3e31007f8597d8ef768..349ade7d27007c7fd79b65bc8320e299ad19ed87 100644
--- a/third_party/WebKit/Source/modules/webaudio/AudioNodeInput.h
+++ b/third_party/WebKit/Source/modules/webaudio/AudioNodeInput.h
@@ -37,9 +37,11 @@ namespace blink {
class AudioNodeOutput;
-// An AudioNodeInput represents an input to an AudioNode and can be connected from one or more AudioNodeOutputs.
-// In the case of multiple connections, the input will act as a unity-gain summing junction, mixing all the outputs.
-// The number of channels of the input's bus is the maximum of the number of channels of all its connections.
+// An AudioNodeInput represents an input to an AudioNode and can be connected
+// from one or more AudioNodeOutputs. In the case of multiple connections, the
+// input will act as a unity-gain summing junction, mixing all the outputs. The
+// number of channels of the input's bus is the maximum of the number of
+// channels of all its connections.
class AudioNodeInput final : public AudioSummingJunction {
USING_FAST_MALLOC(AudioNodeInput);
@@ -57,28 +59,33 @@ class AudioNodeInput final : public AudioSummingJunction {
void connect(AudioNodeOutput&);
void disconnect(AudioNodeOutput&);
- // disable() will take the output out of the active connections list and set aside in a disabled list.
+ // disable() will take the output out of the active connections list and set
+ // aside in a disabled list.
// enable() will put the output back into the active connections list.
// Must be called with the context's graph lock.
void enable(AudioNodeOutput&);
void disable(AudioNodeOutput&);
// pull() processes all of the AudioNodes connected to us.
- // In the case of multiple connections it sums the result into an internal summing bus.
- // In the single connection case, it allows in-place processing where possible using inPlaceBus.
- // It returns the bus which it rendered into, returning inPlaceBus if in-place processing was performed.
+ // In the case of multiple connections it sums the result into an internal
+ // summing bus. In the single connection case, it allows in-place processing
+ // where possible using inPlaceBus. It returns the bus which it rendered
+ // into, returning inPlaceBus if in-place processing was performed.
// Called from context's audio thread.
AudioBus* pull(AudioBus* inPlaceBus, size_t framesToProcess);
- // bus() contains the rendered audio after pull() has been called for each time quantum.
+ // bus() contains the rendered audio after pull() has been called for each
+ // time quantum.
// Called from context's audio thread.
AudioBus* bus();
- // updateInternalBus() updates m_internalSummingBus appropriately for the number of channels.
- // This must be called when we own the context's graph lock in the audio thread at the very start or end of the render quantum.
+ // updateInternalBus() updates m_internalSummingBus appropriately for the
+ // number of channels. This must be called when we own the context's graph
+ // lock in the audio thread at the very start or end of the render quantum.
void updateInternalBus();
- // The number of channels of the connection with the largest number of channels.
+ // The number of channels of the connection with the largest number of
+ // channels.
unsigned numberOfChannels() const;
private:

Powered by Google App Engine
This is Rietveld 408576698