Skip to content

Commit

Permalink
Adapt BaseAudioContext API to new events structure (#15019)
Browse files Browse the repository at this point in the history
This PR adapts the BaseAudioContext API to conform to the new events structure.  Part of work for #14578.
  • Loading branch information
queengooborg authored Feb 21, 2022
1 parent 433cdf9 commit c656748
Showing 1 changed file with 32 additions and 31 deletions.
63 changes: 32 additions & 31 deletions api/BaseAudioContext.json
Original file line number Diff line number Diff line change
Expand Up @@ -1383,46 +1383,46 @@
}
}
},
"onstatechange": {
"sampleRate": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/BaseAudioContext/onstatechange",
"spec_url": "https://webaudio.github.io/web-audio-api/#dom-baseaudiocontext-onstatechange",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/BaseAudioContext/sampleRate",
"spec_url": "https://webaudio.github.io/web-audio-api/#dom-baseaudiocontext-samplerate",
"support": {
"chrome": {
"version_added": "41"
"version_added": "14"
},
"chrome_android": {
"version_added": "41"
"version_added": "18"
},
"edge": {
"version_added": "14"
"version_added": "12"
},
"firefox": {
"version_added": "40"
"version_added": "25"
},
"firefox_android": {
"version_added": "40"
"version_added": "25"
},
"ie": {
"version_added": false
},
"opera": {
"version_added": "28"
"version_added": "15"
},
"opera_android": {
"version_added": "28"
"version_added": "14"
},
"safari": {
"version_added": "9"
"version_added": "6"
},
"safari_ios": {
"version_added": "9"
"version_added": "6"
},
"samsunginternet_android": {
"version_added": "4.0"
"version_added": "1.0"
},
"webview_android": {
"version_added": "41"
"version_added": "4.4.3"
}
},
"status": {
Expand All @@ -1432,46 +1432,46 @@
}
}
},
"sampleRate": {
"state": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/BaseAudioContext/sampleRate",
"spec_url": "https://webaudio.github.io/web-audio-api/#dom-baseaudiocontext-samplerate",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/BaseAudioContext/state",
"spec_url": "https://webaudio.github.io/web-audio-api/#dom-baseaudiocontext-state",
"support": {
"chrome": {
"version_added": "14"
"version_added": "41"
},
"chrome_android": {
"version_added": "18"
"version_added": "41"
},
"edge": {
"version_added": "12"
"version_added": "14"
},
"firefox": {
"version_added": "25"
"version_added": "40"
},
"firefox_android": {
"version_added": "25"
"version_added": "40"
},
"ie": {
"version_added": false
},
"opera": {
"version_added": "15"
"version_added": "28"
},
"opera_android": {
"version_added": "14"
"version_added": "28"
},
"safari": {
"version_added": "6"
"version_added": "9"
},
"safari_ios": {
"version_added": "6"
"version_added": "9"
},
"samsunginternet_android": {
"version_added": "1.0"
"version_added": "4.0"
},
"webview_android": {
"version_added": "4.4.3"
"version_added": "41"
}
},
"status": {
Expand All @@ -1481,10 +1481,11 @@
}
}
},
"state": {
"statechange_event": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/BaseAudioContext/state",
"spec_url": "https://webaudio.github.io/web-audio-api/#dom-baseaudiocontext-state",
"description": "<code>statechange</code> event",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/BaseAudioContext/statechange_event",
"spec_url": "https://webaudio.github.io/web-audio-api/#dom-baseaudiocontext-onstatechange",
"support": {
"chrome": {
"version_added": "41"
Expand Down

0 comments on commit c656748

Please sign in to comment.