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

Side by Side Diff: third_party/WebKit/Source/modules/webaudio/AudioContext.idl

Issue 1948653003: Add PeriodicWaveConstraints dictionary (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test failures Created 4 years, 7 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
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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 [RaisesException, MeasureAs=AudioContextCreateBiquadFilter] BiquadFilterNode createBiquadFilter(); 72 [RaisesException, MeasureAs=AudioContextCreateBiquadFilter] BiquadFilterNode createBiquadFilter();
73 [RaisesException, MeasureAs=AudioContextCreateIIRFilter] IIRFilterNode creat eIIRFilter(sequence<double> feedForward, sequence<double> feedBack); 73 [RaisesException, MeasureAs=AudioContextCreateIIRFilter] IIRFilterNode creat eIIRFilter(sequence<double> feedForward, sequence<double> feedBack);
74 [RaisesException, MeasureAs=AudioContextCreateWaveShaper] WaveShaperNode cre ateWaveShaper(); 74 [RaisesException, MeasureAs=AudioContextCreateWaveShaper] WaveShaperNode cre ateWaveShaper();
75 [RaisesException, MeasureAs=AudioContextCreatePanner] PannerNode createPanne r(); 75 [RaisesException, MeasureAs=AudioContextCreatePanner] PannerNode createPanne r();
76 [RaisesException, MeasureAs=AudioContextCreateConvolver] ConvolverNode creat eConvolver(); 76 [RaisesException, MeasureAs=AudioContextCreateConvolver] ConvolverNode creat eConvolver();
77 [RaisesException, MeasureAs=AudioContextCreateDynamicsCompressor] DynamicsCo mpressorNode createDynamicsCompressor(); 77 [RaisesException, MeasureAs=AudioContextCreateDynamicsCompressor] DynamicsCo mpressorNode createDynamicsCompressor();
78 [RaisesException, MeasureAs=AudioContextCreateAnalyser] AnalyserNode createA nalyser(); 78 [RaisesException, MeasureAs=AudioContextCreateAnalyser] AnalyserNode createA nalyser();
79 [RaisesException, MeasureAs=AudioContextCreateScriptProcessor] ScriptProcess orNode createScriptProcessor(optional unsigned long bufferSize, optional unsigne d long numberOfInputChannels, optional unsigned long numberOfOutputChannels); 79 [RaisesException, MeasureAs=AudioContextCreateScriptProcessor] ScriptProcess orNode createScriptProcessor(optional unsigned long bufferSize, optional unsigne d long numberOfInputChannels, optional unsigned long numberOfOutputChannels);
80 [RaisesException, MeasureAs=AudioContextCreateStereoPanner] StereoPannerNode createStereoPanner(); 80 [RaisesException, MeasureAs=AudioContextCreateStereoPanner] StereoPannerNode createStereoPanner();
81 [RaisesException, MeasureAs=AudioContextCreateOscillator] OscillatorNode cre ateOscillator(); 81 [RaisesException, MeasureAs=AudioContextCreateOscillator] OscillatorNode cre ateOscillator();
82 [RaisesException, MeasureAs=AudioContextCreatePeriodicWave] PeriodicWave cre atePeriodicWave(Float32Array real, Float32Array imag, optional Dictionary option s); 82 [RaisesException, MeasureAs=AudioContextCreatePeriodicWave] PeriodicWave cre atePeriodicWave(Float32Array real, Float32Array imag, optional PeriodicWaveConst raints options);
83 83
84 // Channel splitting and merging 84 // Channel splitting and merging
85 [RaisesException, MeasureAs=AudioContextCreateChannelSplitter] ChannelSplitt erNode createChannelSplitter(optional unsigned long numberOfOutputs); 85 [RaisesException, MeasureAs=AudioContextCreateChannelSplitter] ChannelSplitt erNode createChannelSplitter(optional unsigned long numberOfOutputs);
86 [RaisesException, MeasureAs=AudioContextCreateChannelMerger] ChannelMergerNo de createChannelMerger(optional unsigned long numberOfInputs); 86 [RaisesException, MeasureAs=AudioContextCreateChannelMerger] ChannelMergerNo de createChannelMerger(optional unsigned long numberOfInputs);
87 87
88 // Close 88 // Close
89 [MeasureAs=AudioContextClose, CallWith=ScriptState, ImplementedAs=closeConte xt] Promise<void> close(); 89 [MeasureAs=AudioContextClose, CallWith=ScriptState, ImplementedAs=closeConte xt] Promise<void> close();
90 90
91 // Pause/resume 91 // Pause/resume
92 [MeasureAs=AudioContextSuspend, CallWith=ScriptState, ImplementedAs=suspendC ontext] Promise<void> suspend(); 92 [MeasureAs=AudioContextSuspend, CallWith=ScriptState, ImplementedAs=suspendC ontext] Promise<void> suspend();
93 [MeasureAs=AudioContextResume, CallWith=ScriptState, ImplementedAs=resumeCon text] Promise<void> resume(); 93 [MeasureAs=AudioContextResume, CallWith=ScriptState, ImplementedAs=resumeCon text] Promise<void> resume();
94 94
95 attribute EventHandler onstatechange; 95 attribute EventHandler onstatechange;
96 }; 96 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698