@@ -1314,19 +1314,19 @@ enum AudioContextLatencyCategory {
1314
1314
</div>
1315
1315
1316
1316
<xmp class="idl">
1317
- [Exposed=Window,
1318
- Constructor (optional AudioContextOptions contextOptions)]
1317
+ [Exposed=Window]
1319
1318
interface AudioContext : BaseAudioContext {
1320
- readonly attribute double baseLatency;
1321
- readonly attribute double outputLatency;
1322
- AudioTimestamp getOutputTimestamp ();
1323
- Promise<void> resume ();
1324
- Promise<void> suspend ();
1325
- Promise<void> close ();
1326
- MediaElementAudioSourceNode createMediaElementSource (HTMLMediaElement mediaElement);
1327
- MediaStreamAudioSourceNode createMediaStreamSource (MediaStream mediaStream);
1328
- MediaStreamTrackAudioSourceNode createMediaStreamTrackSource (MediaStreamTrack mediaStreamTrack);
1329
- MediaStreamAudioDestinationNode createMediaStreamDestination ();
1319
+ constructor (optional AudioContextOptions contextOptions);
1320
+ readonly attribute double baseLatency;
1321
+ readonly attribute double outputLatency;
1322
+ AudioTimestamp getOutputTimestamp ();
1323
+ Promise<void> resume ();
1324
+ Promise<void> suspend ();
1325
+ Promise<void> close ();
1326
+ MediaElementAudioSourceNode createMediaElementSource (HTMLMediaElement mediaElement);
1327
+ MediaStreamAudioSourceNode createMediaStreamSource (MediaStream mediaStream);
1328
+ MediaStreamTrackAudioSourceNode createMediaStreamTrackSource (MediaStreamTrack mediaStreamTrack);
1329
+ MediaStreamAudioDestinationNode createMediaStreamDestination ();
1330
1330
};
1331
1331
</xmp>
1332
1332
@@ -1876,10 +1876,10 @@ returned promise with the rendered result as an
1876
1876
{{AudioBuffer}} .
1877
1877
1878
1878
<xmp class="idl">
1879
- [Exposed=Window,
1880
- Constructor (OfflineAudioContextOptions contextOptions),
1881
- Constructor (unsigned long numberOfChannels, unsigned long length, float sampleRate)]
1879
+ [Exposed=Window]
1882
1880
interface OfflineAudioContext : BaseAudioContext {
1881
+ constructor(OfflineAudioContextOptions contextOptions);
1882
+ constructor(unsigned long numberOfChannels, unsigned long length, float sampleRate);
1883
1883
Promise<AudioBuffer> startRendering();
1884
1884
Promise<void> resume();
1885
1885
Promise<void> suspend(double suspendTime);
@@ -2173,9 +2173,9 @@ This is an {{Event}} object which is dispatched to
2173
2173
{{OfflineAudioContext}} for legacy reasons.
2174
2174
2175
2175
<pre class="idl">
2176
- [Exposed=Window,
2177
- Constructor (DOMString type, OfflineAudioCompletionEventInit eventInitDict)]
2176
+ [Exposed=Window]
2178
2177
interface OfflineAudioCompletionEvent : Event {
2178
+ constructor (DOMString type, OfflineAudioCompletionEventInit eventInitDict);
2179
2179
readonly attribute AudioBuffer renderedBuffer;
2180
2180
};
2181
2181
</pre>
@@ -2255,9 +2255,9 @@ An {{AudioBuffer}} may be used by one or more
2255
2255
</dl>
2256
2256
2257
2257
<pre class="idl">
2258
- [Exposed=Window,
2259
- Constructor (AudioBufferOptions options)]
2258
+ [Exposed=Window]
2260
2259
interface AudioBuffer {
2260
+ constructor (AudioBufferOptions options);
2261
2261
readonly attribute float sampleRate;
2262
2262
readonly attribute unsigned long length;
2263
2263
readonly attribute double duration;
@@ -4138,9 +4138,9 @@ macros:
4138
4138
</pre>
4139
4139
4140
4140
<pre class="idl">
4141
- [Exposed=Window,
4142
- Constructor (BaseAudioContext context, optional AnalyserOptions options = {})]
4141
+ [Exposed=Window]
4143
4142
interface AnalyserNode : AudioNode {
4143
+ constructor (BaseAudioContext context, optional AnalyserOptions options = {});
4144
4144
void getFloatFrequencyData (Float32Array array);
4145
4145
void getByteFrequencyData (Uint8Array array);
4146
4146
void getFloatTimeDomainData (Float32Array array);
@@ -4594,9 +4594,9 @@ The <a>nominal range</a> for this <a>compound parameter</a> is
4594
4594
slot <dfn attribute for="AudioBufferSourceNode">[[buffer set]]</dfn> , initially set to false.
4595
4595
4596
4596
<pre class="idl">
4597
- [Exposed=Window,
4598
- Constructor (BaseAudioContext context, optional AudioBufferSourceOptions options = {})]
4597
+ [Exposed=Window]
4599
4598
interface AudioBufferSourceNode : AudioScheduledSourceNode {
4599
+ constructor (BaseAudioContext context, optional AudioBufferSourceOptions options = {});
4600
4600
attribute AudioBuffer? buffer;
4601
4601
readonly attribute AudioParam playbackRate;
4602
4602
readonly attribute AudioParam detune;
@@ -5563,9 +5563,9 @@ synthesized data if there are no inputs) is then placed into the
5563
5563
{{AudioProcessingEvent/outputBuffer}} .
5564
5564
5565
5565
<pre class="idl">
5566
- [Exposed=Window,
5567
- Constructor (DOMString type, AudioProcessingEventInit eventInitDict)]
5566
+ [Exposed=Window]
5568
5567
interface AudioProcessingEvent : Event {
5568
+ constructor (DOMString type, AudioProcessingEventInit eventInitDict);
5569
5569
readonly attribute double playbackTime;
5570
5570
readonly attribute AudioBuffer inputBuffer;
5571
5571
readonly attribute AudioBuffer outputBuffer;
@@ -5832,9 +5832,9 @@ enum BiquadFilterType {
5832
5832
All attributes of the {{BiquadFilterNode}} are <a>a-rate</a> {{AudioParam}} s.
5833
5833
5834
5834
<pre class="idl">
5835
- [Exposed=Window,
5836
- Constructor (BaseAudioContext context, optional BiquadFilterOptions options = {})]
5835
+ [Exposed=Window]
5837
5836
interface BiquadFilterNode : AudioNode {
5837
+ constructor (BaseAudioContext context, optional BiquadFilterOptions options = {});
5838
5838
attribute BiquadFilterType type;
5839
5839
readonly attribute AudioParam frequency;
5840
5840
readonly attribute AudioParam detune;
@@ -6271,9 +6271,9 @@ output channels.
6271
6271
</div>
6272
6272
6273
6273
<pre class="idl">
6274
- [Exposed=Window,
6275
- Constructor (BaseAudioContext context, optional ChannelMergerOptions options = {})]
6274
+ [Exposed=Window]
6276
6275
interface ChannelMergerNode : AudioNode {
6276
+ constructor (BaseAudioContext context, optional ChannelMergerOptions options = {});
6277
6277
};
6278
6278
</pre>
6279
6279
@@ -6383,9 +6383,9 @@ One application for {{ChannelSplitterNode}} is for doing
6383
6383
desired.
6384
6384
6385
6385
<pre class="idl">
6386
- [Exposed=Window,
6387
- Constructor (BaseAudioContext context, optional ChannelSplitterOptions options = {})]
6386
+ [Exposed=Window]
6388
6387
interface ChannelSplitterNode : AudioNode {
6388
+ constructor (BaseAudioContext context, optional ChannelSplitterOptions options = {});
6389
6389
};
6390
6390
</pre>
6391
6391
@@ -6464,9 +6464,9 @@ macros:
6464
6464
</pre>
6465
6465
6466
6466
<pre class="idl">
6467
- [Exposed=Window,
6468
- Constructor (BaseAudioContext context, optional ConstantSourceOptions options = {})]
6467
+ [Exposed=Window]
6469
6468
interface ConstantSourceNode : AudioScheduledSourceNode {
6469
+ constructor (BaseAudioContext context, optional ConstantSourceOptions options = {});
6470
6470
readonly attribute AudioParam offset;
6471
6471
};
6472
6472
</pre>
@@ -6569,9 +6569,9 @@ constraints</a> for this node. These constraints ensure that the
6569
6569
input to the node is either mono or stereo.
6570
6570
6571
6571
<pre class="idl">
6572
- [Exposed=Window,
6573
- Constructor (BaseAudioContext context, optional ConvolverOptions options = {})]
6572
+ [Exposed=Window]
6574
6573
interface ConvolverNode : AudioNode {
6574
+ constructor (BaseAudioContext context, optional ConvolverOptions options = {});
6575
6575
attribute AudioBuffer? buffer;
6576
6576
attribute boolean normalize;
6577
6577
};
@@ -6834,9 +6834,9 @@ Note: By definition, a {{DelayNode}} introduces an audio processing
6834
6834
latency equal to the amount of the delay.
6835
6835
6836
6836
<pre class="idl">
6837
- [Exposed=Window,
6838
- Constructor (BaseAudioContext context, optional DelayOptions options = {})]
6837
+ [Exposed=Window]
6839
6838
interface DelayNode : AudioNode {
6839
+ constructor (BaseAudioContext context, optional DelayOptions options = {});
6840
6840
readonly attribute AudioParam delayTime;
6841
6841
};
6842
6842
</pre>
@@ -6990,9 +6990,9 @@ macros:
6990
6990
</pre>
6991
6991
6992
6992
<pre class="idl">
6993
- [Exposed=Window,
6994
- Constructor (BaseAudioContext context, optional DynamicsCompressorOptions options = {})]
6993
+ [Exposed=Window]
6995
6994
interface DynamicsCompressorNode : AudioNode {
6995
+ constructor (BaseAudioContext context, optional DynamicsCompressorOptions options = {});
6996
6996
readonly attribute AudioParam threshold;
6997
6997
readonly attribute AudioParam knee;
6998
6998
readonly attribute AudioParam ratio;
@@ -7440,9 +7440,9 @@ Each sample of each channel of the input data of the
7440
7440
<a>computedValue</a> of the {{GainNode/gain}} {{AudioParam}} .
7441
7441
7442
7442
<pre class="idl">
7443
- [Exposed=Window,
7444
- Constructor (BaseAudioContext context, optional GainOptions options = {})]
7443
+ [Exposed=Window]
7445
7444
interface GainNode : AudioNode {
7445
+ constructor (BaseAudioContext context, optional GainOptions options = {});
7446
7446
readonly attribute AudioParam gain;
7447
7447
};
7448
7448
</pre>
@@ -7551,9 +7551,9 @@ The number of channels of the output always equals the number of
7551
7551
channels of the input.
7552
7552
7553
7553
<pre class="idl">
7554
- [Exposed=Window,
7555
- Constructor (BaseAudioContext context, IIRFilterOptions options)]
7554
+ [Exposed=Window]
7556
7555
interface IIRFilterNode : AudioNode {
7556
+ constructor (BaseAudioContext context, IIRFilterOptions options);
7557
7557
void getFrequencyResponse (Float32Array frequencyHz, Float32Array magResponse, Float32Array phaseResponse);
7558
7558
};
7559
7559
</pre>
@@ -7718,9 +7718,9 @@ attribute changes, and other aspects of the
7718
7718
</pre>
7719
7719
7720
7720
<pre class="idl">
7721
- [Exposed=Window,
7722
- Constructor (AudioContext context, MediaElementAudioSourceOptions options)]
7721
+ [Exposed=Window]
7723
7722
interface MediaElementAudioSourceNode : AudioNode {
7723
+ constructor (AudioContext context, MediaElementAudioSourceOptions options);
7724
7724
[SameObject] readonly attribute HTMLMediaElement mediaElement;
7725
7725
};
7726
7726
</pre>
@@ -7824,9 +7824,9 @@ macros:
7824
7824
The number of channels of the input is by default 2 (stereo).
7825
7825
7826
7826
<pre class="idl">
7827
- [Exposed=Window,
7828
- Constructor (AudioContext context, optional AudioNodeOptions options = {})]
7827
+ [Exposed=Window]
7829
7828
interface MediaStreamAudioDestinationNode : AudioNode {
7829
+ constructor (AudioContext context, optional AudioNodeOptions options = {});
7830
7830
readonly attribute MediaStream stream;
7831
7831
};
7832
7832
</pre>
@@ -7883,9 +7883,9 @@ the {{MediaStreamTrack}}. When the
7883
7883
{{AudioNode}} outputs one channel of silence.
7884
7884
7885
7885
<pre class="idl">
7886
- [Exposed=Window,
7887
- Constructor (AudioContext context, MediaStreamAudioSourceOptions options)]
7886
+ [Exposed=Window]
7888
7887
interface MediaStreamAudioSourceNode : AudioNode {
7888
+ constructor (AudioContext context, MediaStreamAudioSourceOptions options);
7889
7889
[SameObject] readonly attribute MediaStream mediaStream;
7890
7890
};
7891
7891
</pre>
@@ -7993,9 +7993,9 @@ The number of channels of the output corresponds to the number of
7993
7993
channels of the {{MediaStreamTrack}} .
7994
7994
7995
7995
<pre class="idl">
7996
- [Exposed=Window,
7997
- Constructor (AudioContext context, MediaStreamTrackAudioSourceOptions options)]
7996
+ [Exposed=Window]
7998
7997
interface MediaStreamTrackAudioSourceNode : AudioNode {
7998
+ constructor (AudioContext context, MediaStreamTrackAudioSourceOptions options);
7999
7999
};
8000
8000
</pre>
8001
8001
@@ -8133,9 +8133,9 @@ enum OscillatorType {
8133
8133
</div>
8134
8134
8135
8135
<pre class="idl">
8136
- [Exposed=Window,
8137
- Constructor (BaseAudioContext context, optional OscillatorOptions options = {})]
8136
+ [Exposed=Window]
8138
8137
interface OscillatorNode : AudioScheduledSourceNode {
8138
+ constructor (BaseAudioContext context, optional OscillatorOptions options = {});
8139
8139
attribute OscillatorType type;
8140
8140
readonly attribute AudioParam frequency;
8141
8141
readonly attribute AudioParam detune;
@@ -8501,9 +8501,9 @@ enum DistanceModelType {
8501
8501
</div>
8502
8502
8503
8503
<pre class="idl">
8504
- [Exposed=Window,
8505
- Constructor (BaseAudioContext context, optional PannerOptions options = {})]
8504
+ [Exposed=Window]
8506
8505
interface PannerNode : AudioNode {
8506
+ constructor (BaseAudioContext context, optional PannerOptions options = {});
8507
8507
attribute PanningModelType panningModel;
8508
8508
readonly attribute AudioParam positionX;
8509
8509
readonly attribute AudioParam positionY;
@@ -8894,9 +8894,9 @@ A <a>conforming implementation</a> MUST support {{PeriodicWave}}
8894
8894
up to at least 8192 elements.
8895
8895
8896
8896
<pre class="idl">
8897
- [Exposed=Window,
8898
- Constructor (BaseAudioContext context, optional PeriodicWaveOptions options = {})]
8897
+ [Exposed=Window]
8899
8898
interface PeriodicWave {
8899
+ constructor (BaseAudioContext context, optional PeriodicWaveOptions options = {});
8900
8900
};
8901
8901
</pre>
8902
8902
@@ -9238,9 +9238,9 @@ The output of this node is hard-coded to stereo (2 channels) and
9238
9238
cannot be configured.
9239
9239
9240
9240
<pre class="idl">
9241
- [Exposed=Window,
9242
- Constructor (BaseAudioContext context, optional StereoPannerOptions options = {})]
9241
+ [Exposed=Window]
9243
9242
interface StereoPannerNode : AudioNode {
9243
+ constructor (BaseAudioContext context, optional StereoPannerOptions options = {});
9244
9244
readonly attribute AudioParam pan;
9245
9245
};
9246
9246
</pre>
@@ -9368,9 +9368,9 @@ enum OverSampleType {
9368
9368
</div>
9369
9369
9370
9370
<pre class="idl">
9371
- [Exposed=Window,
9372
- Constructor (BaseAudioContext context, optional WaveShaperOptions options = {})]
9371
+ [Exposed=Window]
9373
9372
interface WaveShaperNode : AudioNode {
9373
+ constructor (BaseAudioContext context, optional WaveShaperOptions options = {});
9374
9374
attribute Float32Array? curve;
9375
9375
attribute OverSampleType oversample;
9376
9376
};
@@ -9925,11 +9925,10 @@ This interface has "entries", "forEach", "get", "has", "keys",
9925
9925
<code> readonly maplike</code> .
9926
9926
9927
9927
<pre class="idl">
9928
- [Exposed=Window,
9929
- SecureContext,
9930
- Constructor (BaseAudioContext context, DOMString name,
9931
- optional AudioWorkletNodeOptions options = {})]
9928
+ [Exposed=Window, SecureContext]
9932
9929
interface AudioWorkletNode : AudioNode {
9930
+ constructor (BaseAudioContext context, DOMString name,
9931
+ optional AudioWorkletNodeOptions options = {});
9933
9932
readonly attribute AudioParamMap parameters;
9934
9933
readonly attribute MessagePort port;
9935
9934
attribute EventHandler onprocessorerror;
@@ -10209,9 +10208,9 @@ Note that the an {{AudioWorkletProcessor}} construction can only happen as a
10209
10208
result of an {{AudioWorkletNode}} contruction.
10210
10209
10211
10210
<pre class="idl">
10212
- [Exposed=AudioWorklet,
10213
- Constructor (optional AudioWorkletNodeOptions options = {})]
10211
+ [Exposed=AudioWorklet]
10214
10212
interface AudioWorkletProcessor {
10213
+ constructor (optional AudioWorkletNodeOptions options = {});
10215
10214
readonly attribute MessagePort port;
10216
10215
};
10217
10216
</pre>
0 commit comments