| 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 12 matching lines...) Expand all Loading... |
| 23 * DAMAGE. | 23 * DAMAGE. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #ifndef ScriptProcessorNode_h | 26 #ifndef ScriptProcessorNode_h |
| 27 #define ScriptProcessorNode_h | 27 #define ScriptProcessorNode_h |
| 28 | 28 |
| 29 #include "base/gtest_prod_util.h" | 29 #include "base/gtest_prod_util.h" |
| 30 #include "bindings/core/v8/ActiveScriptWrappable.h" | 30 #include "bindings/core/v8/ActiveScriptWrappable.h" |
| 31 #include "modules/webaudio/AudioNode.h" | 31 #include "modules/webaudio/AudioNode.h" |
| 32 #include "platform/audio/AudioBus.h" | 32 #include "platform/audio/AudioBus.h" |
| 33 #include "wtf/Forward.h" | 33 #include "platform/wtf/Forward.h" |
| 34 #include "wtf/PassRefPtr.h" | 34 #include "platform/wtf/PassRefPtr.h" |
| 35 #include "wtf/RefPtr.h" | 35 #include "platform/wtf/RefPtr.h" |
| 36 #include "wtf/Vector.h" | 36 #include "platform/wtf/Vector.h" |
| 37 | 37 |
| 38 namespace blink { | 38 namespace blink { |
| 39 | 39 |
| 40 class BaseAudioContext; | 40 class BaseAudioContext; |
| 41 class AudioBuffer; | 41 class AudioBuffer; |
| 42 class WaitableEvent; | 42 class WaitableEvent; |
| 43 | 43 |
| 44 // ScriptProcessorNode is an AudioNode which allows for arbitrary synthesis or | 44 // ScriptProcessorNode is an AudioNode which allows for arbitrary synthesis or |
| 45 // processing directly using JavaScript. The API allows for a variable number | 45 // processing directly using JavaScript. The API allows for a variable number |
| 46 // of inputs and outputs, although it must have at least one input or output. | 46 // of inputs and outputs, although it must have at least one input or output. |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 ScriptProcessorNode(BaseAudioContext&, | 148 ScriptProcessorNode(BaseAudioContext&, |
| 149 float sample_rate, | 149 float sample_rate, |
| 150 size_t buffer_size, | 150 size_t buffer_size, |
| 151 unsigned number_of_input_channels, | 151 unsigned number_of_input_channels, |
| 152 unsigned number_of_output_channels); | 152 unsigned number_of_output_channels); |
| 153 }; | 153 }; |
| 154 | 154 |
| 155 } // namespace blink | 155 } // namespace blink |
| 156 | 156 |
| 157 #endif // ScriptProcessorNode_h | 157 #endif // ScriptProcessorNode_h |
| OLD | NEW |