Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(291)

Side by Side Diff: third_party/WebCore/Modules/webaudio/AudioContext.idl

Issue 10825350: Roll IDL to multivm@762 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 raises(DOMException); 51 raises(DOMException);
52 AudioBuffer createBuffer(in ArrayBuffer? buffer, in boolean mixToMono) 52 AudioBuffer createBuffer(in ArrayBuffer? buffer, in boolean mixToMono)
53 raises(DOMException); 53 raises(DOMException);
54 54
55 // Asynchronous audio file data decoding. 55 // Asynchronous audio file data decoding.
56 void decodeAudioData(in ArrayBuffer audioData, in [Callback] AudioBuffer Callback successCallback, in [Optional, Callback] AudioBufferCallback errorCallb ack) 56 void decodeAudioData(in ArrayBuffer audioData, in [Callback] AudioBuffer Callback successCallback, in [Optional, Callback] AudioBufferCallback errorCallb ack)
57 raises(DOMException); 57 raises(DOMException);
58 58
59 // Sources 59 // Sources
60 AudioBufferSourceNode createBufferSource(); 60 AudioBufferSourceNode createBufferSource();
61
61 #if defined(ENABLE_VIDEO) && ENABLE_VIDEO 62 #if defined(ENABLE_VIDEO) && ENABLE_VIDEO
62 MediaElementAudioSourceNode createMediaElementSource(in HTMLMediaElement mediaElement) 63 MediaElementAudioSourceNode createMediaElementSource(in HTMLMediaElement mediaElement)
63 raises(DOMException); 64 raises(DOMException);
64 #endif 65 #endif
66
67 #if defined(ENABLE_MEDIA_STREAM) && ENABLE_MEDIA_STREAM
68 MediaStreamAudioSourceNode createMediaStreamSource(in MediaStream mediaS tream)
69 raises(DOMException);
70 #endif
71
65 // Processing nodes 72 // Processing nodes
66 AudioGainNode createGainNode(); 73 AudioGainNode createGainNode();
67 DelayNode createDelayNode(in [Optional] double maxDelayTime); 74 DelayNode createDelayNode(in [Optional] double maxDelayTime);
68 BiquadFilterNode createBiquadFilter(); 75 BiquadFilterNode createBiquadFilter();
69 WaveShaperNode createWaveShaper(); 76 WaveShaperNode createWaveShaper();
70 AudioPannerNode createPanner(); 77 AudioPannerNode createPanner();
71 ConvolverNode createConvolver(); 78 ConvolverNode createConvolver();
72 DynamicsCompressorNode createDynamicsCompressor(); 79 DynamicsCompressorNode createDynamicsCompressor();
73 RealtimeAnalyserNode createAnalyser(); 80 RealtimeAnalyserNode createAnalyser();
74 JavaScriptAudioNode createJavaScriptNode(in unsigned long bufferSize, in [Optional] unsigned long numberOfInputChannels, in [Optional] unsigned long num berOfOutputChannels) 81 JavaScriptAudioNode createJavaScriptNode(in unsigned long bufferSize, in [Optional] unsigned long numberOfInputChannels, in [Optional] unsigned long num berOfOutputChannels)
75 raises(DOMException); 82 raises(DOMException);
76 Oscillator createOscillator(); 83 Oscillator createOscillator();
77 WaveTable createWaveTable(in Float32Array real, in Float32Array imag) 84 WaveTable createWaveTable(in Float32Array real, in Float32Array imag)
78 raises(DOMException); 85 raises(DOMException);
79 86
80 // Channel splitting and merging 87 // Channel splitting and merging
81 AudioChannelSplitter createChannelSplitter(in [Optional] unsigned long n umberOfOutputs) 88 AudioChannelSplitter createChannelSplitter(in [Optional] unsigned long n umberOfOutputs)
82 raises(DOMException); 89 raises(DOMException);
83 AudioChannelMerger createChannelMerger(in [Optional] unsigned long numbe rOfInputs) 90 AudioChannelMerger createChannelMerger(in [Optional] unsigned long numbe rOfInputs)
84 raises(DOMException); 91 raises(DOMException);
85 92
86 // Offline rendering 93 // Offline rendering
87 // void prepareOfflineBufferRendering(in unsigned long numberOfChannels, in unsigned long numberOfFrames, in float sampleRate); 94 // void prepareOfflineBufferRendering(in unsigned long numberOfChannels, in unsigned long numberOfFrames, in float sampleRate);
88 attribute EventListener oncomplete; 95 attribute EventListener oncomplete;
89 void startRendering(); 96 void startRendering();
90 }; 97 };
91 } 98 }
OLDNEW
« no previous file with comments | « third_party/WebCore/Modules/vibration/NavigatorVibration.idl ('k') | third_party/WebCore/Modules/webaudio/AudioPannerNode.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698