Skip to content

Commit

Permalink
Add more keys to Audio/OfflineAudioContext (#2030)
Browse files Browse the repository at this point in the history
  • Loading branch information
Elchi3 authored Oct 22, 2024
1 parent fc684e5 commit 5dc97f0
Show file tree
Hide file tree
Showing 4 changed files with 108 additions and 0 deletions.
2 changes: 2 additions & 0 deletions features/offline-audio-context.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ compat_features:
- api.OfflineAudioCompletionEvent.renderedBuffer
- api.OfflineAudioContext
- api.OfflineAudioContext.OfflineAudioContext
- api.OfflineAudioContext.OfflineAudioContext.options_parameter
- api.OfflineAudioContext.complete_event
- api.OfflineAudioContext.length
- api.OfflineAudioContext.resume
- api.OfflineAudioContext.startRendering
- api.OfflineAudioContext.startRendering.returns_promise
- api.OfflineAudioContext.suspend
26 changes: 26 additions & 0 deletions features/offline-audio-context.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,19 @@ compat_features:
- api.OfflineAudioContext.complete_event
- api.OfflineAudioContext.startRendering

# baseline: high
# baseline_low_date: 2021-04-26
# baseline_high_date: 2023-10-26
# support:
# chrome: "42"
# chrome_android: "42"
# edge: ≤18
# firefox: "37"
# firefox_android: "37"
# safari: "14.1"
# safari_ios: "14.5"
- api.OfflineAudioContext.startRendering.returns_promise

# baseline: high
# baseline_low_date: 2021-04-26
# baseline_high_date: 2023-10-26
Expand All @@ -71,6 +84,19 @@ compat_features:
# safari_ios: "14.5"
- api.OfflineAudioContext.length

# baseline: high
# baseline_low_date: 2021-04-26
# baseline_high_date: 2023-10-26
# support:
# chrome: "62"
# chrome_android: "62"
# edge: ≤79
# firefox: "57"
# firefox_android: "57"
# safari: "14.1"
# safari_ios: "14.5"
- api.OfflineAudioContext.OfflineAudioContext.options_parameter

# baseline: false
# support:
# chrome: "41"
Expand Down
21 changes: 21 additions & 0 deletions features/web-audio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,22 @@ compat_features:
- api.AudioBufferSourceNode.start
- api.AudioContext
- api.AudioContext.AudioContext
- api.AudioContext.AudioContext.options_latencyHint_parameter
- api.AudioContext.AudioContext.options_sampleRate_parameter
- api.AudioContext.AudioContext.options_sinkId_parameter
- api.AudioContext.baseLatency
- api.AudioContext.close
- api.AudioContext.createMediaElementSource
- api.AudioContext.createMediaStreamDestination
- api.AudioContext.createMediaStreamSource
- api.AudioContext.createMediaStreamTrackSource
- api.AudioContext.error_event
- api.AudioContext.getOutputTimestamp
- api.AudioContext.outputLatency
- api.AudioContext.resume
- api.AudioContext.setSinkId
- api.AudioContext.sinkId
- api.AudioContext.sinkchange_event
- api.AudioContext.suspend
- api.AudioDestinationNode
- api.AudioDestinationNode.maxChannelCount
Expand All @@ -66,6 +73,8 @@ compat_features:
- api.AudioNode.connect
- api.AudioNode.context
- api.AudioNode.disconnect
- api.AudioNode.disconnect.destination_parameter
- api.AudioNode.disconnect.input_parameter
- api.AudioNode.numberOfInputs
- api.AudioNode.numberOfOutputs
- api.AudioParam
Expand All @@ -82,10 +91,20 @@ compat_features:
- api.AudioParam.setValueCurveAtTime
- api.AudioParam.value
- api.AudioParamMap
- api.AudioParamMap.@@iterator
- api.AudioParamMap.entries
- api.AudioParamMap.forEach
- api.AudioParamMap.get
- api.AudioParamMap.has
- api.AudioParamMap.keys
- api.AudioParamMap.size
- api.AudioParamMap.values
- api.AudioScheduledSourceNode
- api.AudioScheduledSourceNode.ended_event
- api.AudioScheduledSourceNode.start
- api.AudioScheduledSourceNode.stop
- api.AudioSinkInfo
- api.AudioSinkInfo.type
- api.BaseAudioContext
- api.BaseAudioContext.createAnalyser
- api.BaseAudioContext.createBiquadFilter
Expand All @@ -102,10 +121,12 @@ compat_features:
- api.BaseAudioContext.createOscillator
- api.BaseAudioContext.createPanner
- api.BaseAudioContext.createPeriodicWave
- api.BaseAudioContext.createPeriodicWave.constraints_disableNormalization_parameter
- api.BaseAudioContext.createStereoPanner
- api.BaseAudioContext.createWaveShaper
- api.BaseAudioContext.currentTime
- api.BaseAudioContext.decodeAudioData
- api.BaseAudioContext.decodeAudioData.returns_promise
- api.BaseAudioContext.destination
- api.BaseAudioContext.listener
- api.BaseAudioContext.sampleRate
Expand Down
59 changes: 59 additions & 0 deletions features/web-audio.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -551,10 +551,12 @@ compat_features:
- api.BaseAudioContext.createOscillator
- api.BaseAudioContext.createPanner
- api.BaseAudioContext.createPeriodicWave
- api.BaseAudioContext.createPeriodicWave.constraints_disableNormalization_parameter
- api.BaseAudioContext.createStereoPanner
- api.BaseAudioContext.createWaveShaper
- api.BaseAudioContext.currentTime
- api.BaseAudioContext.decodeAudioData
- api.BaseAudioContext.decodeAudioData.returns_promise
- api.BaseAudioContext.destination
- api.BaseAudioContext.listener
- api.BaseAudioContext.sampleRate
Expand Down Expand Up @@ -612,6 +614,27 @@ compat_features:
# safari: "14.1"
# safari_ios: "14.5"
- api.AudioParamMap
- api.AudioParamMap.@@iterator
- api.AudioParamMap.entries
- api.AudioParamMap.forEach
- api.AudioParamMap.get
- api.AudioParamMap.has
- api.AudioParamMap.keys
- api.AudioParamMap.size
- api.AudioParamMap.values

# baseline: high
# baseline_low_date: 2021-04-26
# baseline_high_date: 2023-10-26
# support:
# chrome: "74"
# chrome_android: "74"
# edge: "79"
# firefox: "61"
# firefox_android: "61"
# safari: "14.1"
# safari_ios: "14.5"
- api.AudioContext.AudioContext.options_sampleRate_parameter

# baseline: false
# support:
Expand Down Expand Up @@ -639,6 +662,15 @@ compat_features:
# safari_ios: "14.5"
- api.AudioParam.cancelAndHoldAtTime

# baseline: false
# support:
# chrome: "58"
# chrome_android: "58"
# edge: "79"
# safari: "14.1"
# safari_ios: "14.5"
- api.AudioContext.AudioContext.options_latencyHint_parameter

# baseline: false
# support:
# chrome: "68"
Expand Down Expand Up @@ -666,6 +698,33 @@ compat_features:
- api.AudioParam.exponentialRampToValueAtTime
- api.AudioParam.linearRampToValueAtTime

# baseline: false
# support:
# chrome: "43"
# chrome_android: "43"
# edge: ≤18
- api.AudioNode.disconnect.destination_parameter
- api.AudioNode.disconnect.input_parameter

# baseline: false
# support:
# chrome: "110"
# chrome_android: "110"
# edge: "110"
- api.AudioContext.AudioContext.options_sinkId_parameter
- api.AudioContext.setSinkId
- api.AudioContext.sinkId
- api.AudioContext.sinkchange_event
- api.AudioSinkInfo
- api.AudioSinkInfo.type

# baseline: false
# support:
# chrome: "128"
# chrome_android: "128"
# edge: "128"
- api.AudioContext.error_event

# baseline: false
# support:
# firefox: "68"
Expand Down

0 comments on commit 5dc97f0

Please sign in to comment.