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

Side by Side Diff: Source/modules/webaudio/AudioNodeInput.h

Issue 403013002: Rename WebCore to blink in Modules (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/modules/webaudio/AudioNode.cpp ('k') | Source/modules/webaudio/AudioNodeInput.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010, Google Inc. All rights reserved. 2 * Copyright (C) 2010, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 13 matching lines...) Expand all
24 24
25 #ifndef AudioNodeInput_h 25 #ifndef AudioNodeInput_h
26 #define AudioNodeInput_h 26 #define AudioNodeInput_h
27 27
28 #include "platform/audio/AudioBus.h" 28 #include "platform/audio/AudioBus.h"
29 #include "modules/webaudio/AudioNode.h" 29 #include "modules/webaudio/AudioNode.h"
30 #include "modules/webaudio/AudioSummingJunction.h" 30 #include "modules/webaudio/AudioSummingJunction.h"
31 #include "wtf/HashSet.h" 31 #include "wtf/HashSet.h"
32 #include "wtf/Vector.h" 32 #include "wtf/Vector.h"
33 33
34 namespace WebCore { 34 namespace blink {
35 35
36 class AudioNode; 36 class AudioNode;
37 class AudioNodeOutput; 37 class AudioNodeOutput;
38 38
39 // An AudioNodeInput represents an input to an AudioNode and can be connected fr om one or more AudioNodeOutputs. 39 // An AudioNodeInput represents an input to an AudioNode and can be connected fr om one or more AudioNodeOutputs.
40 // In the case of multiple connections, the input will act as a unity-gain summi ng junction, mixing all the outputs. 40 // In the case of multiple connections, the input will act as a unity-gain summi ng junction, mixing all the outputs.
41 // The number of channels of the input's bus is the maximum of the number of cha nnels of all its connections. 41 // The number of channels of the input's bus is the maximum of the number of cha nnels of all its connections.
42 42
43 class AudioNodeInput FINAL : public AudioSummingJunction { 43 class AudioNodeInput FINAL : public AudioSummingJunction {
44 public: 44 public:
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 // Generally, these represent disabled connections from "notes" which have f inished playing but are not yet garbage collected. 90 // Generally, these represent disabled connections from "notes" which have f inished playing but are not yet garbage collected.
91 HashSet<AudioNodeOutput*> m_disabledOutputs; 91 HashSet<AudioNodeOutput*> m_disabledOutputs;
92 92
93 // Called from context's audio thread. 93 // Called from context's audio thread.
94 AudioBus* internalSummingBus(); 94 AudioBus* internalSummingBus();
95 void sumAllConnections(AudioBus* summingBus, size_t framesToProcess); 95 void sumAllConnections(AudioBus* summingBus, size_t framesToProcess);
96 96
97 RefPtr<AudioBus> m_internalSummingBus; 97 RefPtr<AudioBus> m_internalSummingBus;
98 }; 98 };
99 99
100 } // namespace WebCore 100 } // namespace blink
101 101
102 #endif // AudioNodeInput_h 102 #endif // AudioNodeInput_h
OLDNEW
« no previous file with comments | « Source/modules/webaudio/AudioNode.cpp ('k') | Source/modules/webaudio/AudioNodeInput.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698