Rewrite requestMIDIAccess to hook into permissions
miketaylr opened this issue · 8 comments
miketaylr commented
As a followup to #219 (review)
cwilso commented
What remains on top of #294?
miketaylr commented
Sorry for not writing a better description!
Essentially, https://webaudio.github.io/web-midi-api/#dom-navigator-requestmidiaccess needs to hook into the Permissions algorithms.
@marcoscaceres wrote some more explicit suggestions in #219 (review).
miketaylr commented
I will attempt to not mess this up.
hoch commented
Teleconference 4/6:
Remove "particularly if system exclusive access is requested." in the second paragraph of https://www.w3.org/TR/webmidi/#requestmidiaccess.
miketaylr commented
I will attempt to not mess this up.
(It looks like I never finished...)
hoch commented
No worries! We'll take it from here. :)
miketaylr commented
Yay, thanks! I'll go ahead and close my WIP PR now.
mjwilson-google commented
Audio WG 2023-10-18 conclusion:
- In the section https://webaudio.github.io/web-midi-api/#extensions-to-the-navigator-interface, instead of taking a MIDIOptions it should take a MIDIPermissionDescriptor
- We should also probably link the definition of Powerful Feature