| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010, Google Inc. All rights reserved. | 2 * Copyright (C) 2010, Google Inc. All rights reserved. |
| 3 * Copyright (C) 2011 Apple Inc. All rights reserved. | 3 * Copyright (C) 2011 Apple Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 AudioBufferSourceNode createBufferSource(); | 60 AudioBufferSourceNode createBufferSource(); |
| 61 #if defined(ENABLE_VIDEO) && ENABLE_VIDEO | 61 #if defined(ENABLE_VIDEO) && ENABLE_VIDEO |
| 62 MediaElementAudioSourceNode createMediaElementSource(in HTMLMediaElement
mediaElement) | 62 MediaElementAudioSourceNode createMediaElementSource(in HTMLMediaElement
mediaElement) |
| 63 raises(DOMException); | 63 raises(DOMException); |
| 64 #endif | 64 #endif |
| 65 // Processing nodes | 65 // Processing nodes |
| 66 AudioGainNode createGainNode(); | 66 AudioGainNode createGainNode(); |
| 67 DelayNode createDelayNode(in [Optional] double maxDelayTime); | 67 DelayNode createDelayNode(in [Optional] double maxDelayTime); |
| 68 BiquadFilterNode createBiquadFilter(); | 68 BiquadFilterNode createBiquadFilter(); |
| 69 WaveShaperNode createWaveShaper(); | 69 WaveShaperNode createWaveShaper(); |
| 70 LowPass2FilterNode createLowPass2Filter(); | |
| 71 HighPass2FilterNode createHighPass2Filter(); | |
| 72 AudioPannerNode createPanner(); | 70 AudioPannerNode createPanner(); |
| 73 ConvolverNode createConvolver(); | 71 ConvolverNode createConvolver(); |
| 74 DynamicsCompressorNode createDynamicsCompressor(); | 72 DynamicsCompressorNode createDynamicsCompressor(); |
| 75 RealtimeAnalyserNode createAnalyser(); | 73 RealtimeAnalyserNode createAnalyser(); |
| 76 JavaScriptAudioNode createJavaScriptNode(in unsigned long bufferSize); | 74 JavaScriptAudioNode createJavaScriptNode(in unsigned long bufferSize); |
| 75 Oscillator createOscillator(); |
| 76 WaveTable createWaveTable(in Float32Array real, in Float32Array imag) |
| 77 raises(DOMException); |
| 77 | 78 |
| 78 // Channel splitting and merging | 79 // Channel splitting and merging |
| 79 AudioChannelSplitter createChannelSplitter(); | 80 AudioChannelSplitter createChannelSplitter(); |
| 80 AudioChannelMerger createChannelMerger(); | 81 AudioChannelMerger createChannelMerger(); |
| 81 | 82 |
| 82 // Offline rendering | 83 // Offline rendering |
| 83 // void prepareOfflineBufferRendering(in unsigned long numberOfChannels,
in unsigned long numberOfFrames, in float sampleRate); | 84 // void prepareOfflineBufferRendering(in unsigned long numberOfChannels,
in unsigned long numberOfFrames, in float sampleRate); |
| 84 attribute EventListener oncomplete; | 85 attribute EventListener oncomplete; |
| 85 void startRendering(); | 86 void startRendering(); |
| 86 }; | 87 }; |
| 87 } | 88 } |
| OLD | NEW |