| 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 MediaElementAudioSourceNode createMediaElementSource(in HTMLMediaElement med
iaElement) | 62 MediaElementAudioSourceNode createMediaElementSource(in HTMLMediaElement med
iaElement) |
| 63 raises(DOMException); | 63 raises(DOMException); |
| 64 #endif | 64 #endif |
| 65 | 65 |
| 66 #if defined(ENABLE_MEDIA_STREAM) && ENABLE_MEDIA_STREAM | 66 #if defined(ENABLE_MEDIA_STREAM) && ENABLE_MEDIA_STREAM |
| 67 MediaStreamAudioSourceNode createMediaStreamSource(in MediaStream mediaStrea
m) | 67 MediaStreamAudioSourceNode createMediaStreamSource(in MediaStream mediaStrea
m) |
| 68 raises(DOMException); | 68 raises(DOMException); |
| 69 #endif | 69 #endif |
| 70 | 70 |
| 71 // Processing nodes | 71 // Processing nodes |
| 72 GainNode createGainNode(); | 72 GainNode createGain(); |
| 73 DelayNode createDelayNode(in [Optional] double maxDelayTime); | 73 DelayNode createDelay(in [Optional] double maxDelayTime); |
| 74 BiquadFilterNode createBiquadFilter(); | 74 BiquadFilterNode createBiquadFilter(); |
| 75 WaveShaperNode createWaveShaper(); | 75 WaveShaperNode createWaveShaper(); |
| 76 PannerNode createPanner(); | 76 PannerNode createPanner(); |
| 77 ConvolverNode createConvolver(); | 77 ConvolverNode createConvolver(); |
| 78 DynamicsCompressorNode createDynamicsCompressor(); | 78 DynamicsCompressorNode createDynamicsCompressor(); |
| 79 AnalyserNode createAnalyser(); | 79 AnalyserNode createAnalyser(); |
| 80 ScriptProcessorNode createJavaScriptNode(in unsigned long bufferSize, in [Op
tional] unsigned long numberOfInputChannels, in [Optional] unsigned long numberO
fOutputChannels) | 80 ScriptProcessorNode createScriptProcessor(in unsigned long bufferSize, in [O
ptional] unsigned long numberOfInputChannels, in [Optional] unsigned long number
OfOutputChannels) |
| 81 raises(DOMException); | 81 raises(DOMException); |
| 82 OscillatorNode createOscillator(); | 82 OscillatorNode createOscillator(); |
| 83 WaveTable createWaveTable(in Float32Array real, in Float32Array imag) | 83 WaveTable createWaveTable(in Float32Array real, in Float32Array imag) |
| 84 raises(DOMException); | 84 raises(DOMException); |
| 85 | 85 |
| 86 // Channel splitting and merging | 86 // Channel splitting and merging |
| 87 ChannelSplitterNode createChannelSplitter(in [Optional] unsigned long number
OfOutputs) | 87 ChannelSplitterNode createChannelSplitter(in [Optional] unsigned long number
OfOutputs) |
| 88 raises(DOMException); | 88 raises(DOMException); |
| 89 ChannelMergerNode createChannelMerger(in [Optional] unsigned long numberOfIn
puts) | 89 ChannelMergerNode createChannelMerger(in [Optional] unsigned long numberOfIn
puts) |
| 90 raises(DOMException); | 90 raises(DOMException); |
| 91 | 91 |
| 92 // Offline rendering | 92 // Offline rendering |
| 93 // void prepareOfflineBufferRendering(in unsigned long numberOfChannels, in
unsigned long numberOfFrames, in float sampleRate); | 93 // void prepareOfflineBufferRendering(in unsigned long numberOfChannels, in
unsigned long numberOfFrames, in float sampleRate); |
| 94 attribute EventListener oncomplete; | 94 attribute EventListener oncomplete; |
| 95 void startRendering(); | 95 void startRendering(); |
| 96 |
| 97 #if defined(ENABLE_LEGACY_WEB_AUDIO) && ENABLE_LEGACY_WEB_AUDIO |
| 98 [V8MeasureAs=LegacyWebAudio, ImplementedAs=createGain] GainNode createGainNo
de(); |
| 99 [V8MeasureAs=LegacyWebAudio, ImplementedAs=createDelay] DelayNode createDela
yNode(in [Optional] double maxDelayTime); |
| 100 |
| 101 [V8MeasureAs=LegacyWebAudio, ImplementedAs=createScriptProcessor] ScriptProc
essorNode createJavaScriptNode(in unsigned long bufferSize, in [Optional] unsign
ed long numberOfInputChannels, in [Optional] unsigned long numberOfOutputChannel
s) |
| 102 raises(DOMException); |
| 103 #endif |
| 104 |
| 96 }; | 105 }; |
| OLD | NEW |