cwilso / WebMIDIAPIShim

Polyfill using the Jazz NPAPI MIDI plugin to implement the Web MIDI API on Mac and Windows.
380 stars 53 forks source link

Introduced delayed initialization #43

Closed bjornm closed 10 years ago

bjornm commented 10 years ago

since the shim no longer works in Chrome, maybe due to async plugin initialization.

jeremyfa commented 10 years ago

I experienced the issue on Chrome too. The delayed initialization seems to fix it for me.

cwilso commented 10 years ago

If you're on Chrome, why aren't you just turning on the #enable-web-midi flag?

jeremyfa commented 10 years ago

Yes, it is definitely an option, but I still think it is nice to keep the Jazz based implementation working, at least until Chrome doesn't need us to set the flag manually.

bjornm commented 10 years ago

I'd love to switch - does web midi api auto detect devices being plugged in / out nowadays? Win vs Mac vs Chrome OS?

cwilso commented 10 years ago

It does not yet support live plugging, no. It is supported across Mac, Win, ChromeOS, Linux and Android, though.