OLD | NEW |
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 11 matching lines...) Expand all Loading... |
22 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 22 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
23 */ | 23 */ |
24 | 24 |
25 #include "config.h" | 25 #include "config.h" |
26 | 26 |
27 #if ENABLE(WEB_AUDIO) | 27 #if ENABLE(WEB_AUDIO) |
28 | 28 |
29 #include "modules/webaudio/AudioNodeInput.h" | 29 #include "modules/webaudio/AudioNodeInput.h" |
30 | 30 |
31 #include "modules/webaudio/AudioContext.h" | 31 #include "modules/webaudio/AudioContext.h" |
32 #include "modules/webaudio/AudioNode.h" | |
33 #include "modules/webaudio/AudioNodeOutput.h" | 32 #include "modules/webaudio/AudioNodeOutput.h" |
34 #include <algorithm> | 33 #include <algorithm> |
35 | 34 |
36 using namespace std; | 35 using namespace std; |
37 | 36 |
38 namespace WebCore { | 37 namespace WebCore { |
39 | 38 |
40 AudioNodeInput::AudioNodeInput(AudioNode* node) | 39 AudioNodeInput::AudioNodeInput(AudioNode* node) |
41 : AudioSummingJunction(node->context()) | 40 : AudioSummingJunction(node->context()) |
42 , m_node(node) | 41 , m_node(node) |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 | 236 |
238 // Handle multiple connections case. | 237 // Handle multiple connections case. |
239 sumAllConnections(internalSummingBus, framesToProcess); | 238 sumAllConnections(internalSummingBus, framesToProcess); |
240 | 239 |
241 return internalSummingBus; | 240 return internalSummingBus; |
242 } | 241 } |
243 | 242 |
244 } // namespace WebCore | 243 } // namespace WebCore |
245 | 244 |
246 #endif // ENABLE(WEB_AUDIO) | 245 #endif // ENABLE(WEB_AUDIO) |
OLD | NEW |