Closed Bug 1201596 Opened 9 years ago Closed 2 years ago

Implement Windows Backend for WebMIDI

Categories

(Core :: DOM: Device Interfaces, task, P3)

task

Tracking

()

RESOLVED FIXED
Tracking Status
firefox97 --- fixed

People

(Reporter: qdot, Assigned: padenot)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fixed by bug 1728436])

Attachments

(1 obsolete file)

Implement platform specific MIDI backend for windows
If Windows 10 is ok as a minimum version for this, then maybe Firefox can use the new MIDI API:
https://msdn.microsoft.com/library/windows/apps/windows.devices.midi.aspx
Making this depend on bug 1135640 since we're doing midi platform specifics in Rust.
Depends on: oxidation
Priority: -- → P3
It might make more sense to rely on rtmidi, https://github.com/thestk/rtmidi, which has been a proven solution for quite a while now. And as a cross-platform solution it would probably make it easier to get Web MIDI implemented for windows, osx, and linux all at the same time since it removed the need for platform-specific code in the FF codebase.
The tricky part of Web MIDI is in the hotplugging and metadata handling of MIDI devices. rtmidi doesn't seem to implement hotplug.

My hope with the rust support library was that it would implement this platform specific stuff that no other library does.
Hm, have you looked at http://www.tobias-erichsen.de/software/virtualmidi.html by any chance? It has an odd license to it (namely "you need my permission") but if Tobias allows its use that would probably solve the problem of dynamic devices on Windows all the way back to Windows XP x86
Sorry, no, I think I misread you. That would not help with hotplugging physical devices, only with creating the virtual device side of things.
While it does sound a bit NIH, one of my goals with device interfaces in firefox is to keep everything at the systems level written in Rust, also. I have good reasons (based on bad experiences) for this. :)
Assignee: kyle → nobody
Type: defect → task
Assignee: nobody → padenot
Status: NEW → ASSIGNED
Attachment #9252892 - Attachment is obsolete: true
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Severity: normal → --
Whiteboard: [fixed by bug 1728436]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: