| 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/ScriptProcessorNode.h" | 29 #include "modules/webaudio/ScriptProcessorNode.h" |
| 30 | 30 |
| 31 #include "core/dom/Document.h" | 31 #include "core/dom/Document.h" |
| 32 #include "platform/audio/AudioBus.h" | |
| 33 #include "modules/webaudio/AudioBuffer.h" | 32 #include "modules/webaudio/AudioBuffer.h" |
| 34 #include "modules/webaudio/AudioContext.h" | 33 #include "modules/webaudio/AudioContext.h" |
| 35 #include "modules/webaudio/AudioNodeInput.h" | 34 #include "modules/webaudio/AudioNodeInput.h" |
| 36 #include "modules/webaudio/AudioNodeOutput.h" | 35 #include "modules/webaudio/AudioNodeOutput.h" |
| 37 #include "modules/webaudio/AudioProcessingEvent.h" | 36 #include "modules/webaudio/AudioProcessingEvent.h" |
| 38 #include "public/platform/Platform.h" | 37 #include "public/platform/Platform.h" |
| 39 #include "wtf/Float32Array.h" | 38 #include "wtf/Float32Array.h" |
| 40 #include "wtf/MainThread.h" | 39 #include "wtf/MainThread.h" |
| 41 | 40 |
| 42 namespace WebCore { | 41 namespace WebCore { |
| (...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 288 } | 287 } |
| 289 | 288 |
| 290 double ScriptProcessorNode::latencyTime() const | 289 double ScriptProcessorNode::latencyTime() const |
| 291 { | 290 { |
| 292 return std::numeric_limits<double>::infinity(); | 291 return std::numeric_limits<double>::infinity(); |
| 293 } | 292 } |
| 294 | 293 |
| 295 } // namespace WebCore | 294 } // namespace WebCore |
| 296 | 295 |
| 297 #endif // ENABLE(WEB_AUDIO) | 296 #endif // ENABLE(WEB_AUDIO) |
| OLD | NEW |