| 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 AudioPannerNode createPanner(); | 70 AudioPannerNode createPanner(); |
| 71 ConvolverNode createConvolver(); | 71 ConvolverNode createConvolver(); |
| 72 DynamicsCompressorNode createDynamicsCompressor(); | 72 DynamicsCompressorNode createDynamicsCompressor(); |
| 73 RealtimeAnalyserNode createAnalyser(); | 73 RealtimeAnalyserNode createAnalyser(); |
| 74 JavaScriptAudioNode createJavaScriptNode(in unsigned long bufferSize); | 74 JavaScriptAudioNode createJavaScriptNode(in unsigned long bufferSize, in
[Optional] unsigned long numberOfInputChannels, in [Optional] unsigned long num
berOfOutputChannels) |
| 75 raises(DOMException); |
| 75 Oscillator createOscillator(); | 76 Oscillator createOscillator(); |
| 76 WaveTable createWaveTable(in Float32Array real, in Float32Array imag) | 77 WaveTable createWaveTable(in Float32Array real, in Float32Array imag) |
| 77 raises(DOMException); | 78 raises(DOMException); |
| 78 | 79 |
| 79 // Channel splitting and merging | 80 // Channel splitting and merging |
| 80 AudioChannelSplitter createChannelSplitter(); | 81 AudioChannelSplitter createChannelSplitter(in [Optional] unsigned long n
umberOfOutputs) |
| 81 AudioChannelMerger createChannelMerger(); | 82 raises(DOMException); |
| 83 AudioChannelMerger createChannelMerger(in [Optional] unsigned long numbe
rOfInputs) |
| 84 raises(DOMException); |
| 82 | 85 |
| 83 // Offline rendering | 86 // Offline rendering |
| 84 // void prepareOfflineBufferRendering(in unsigned long numberOfChannels,
in unsigned long numberOfFrames, in float sampleRate); | 87 // void prepareOfflineBufferRendering(in unsigned long numberOfChannels,
in unsigned long numberOfFrames, in float sampleRate); |
| 85 attribute EventListener oncomplete; | 88 attribute EventListener oncomplete; |
| 86 void startRendering(); | 89 void startRendering(); |
| 87 }; | 90 }; |
| 88 } | 91 } |
| OLD | NEW |