- From: Chris Wilson <cwilso@google.com>
- Date: Tue, 19 Feb 2013 10:38:17 -0800
- To: Marcos Caceres <w3c@marcosc.com>
- Cc: public-audio <public-audio@w3.org>
Received on Tuesday, 19 February 2013 18:38:53 UTC
On Tue, Feb 19, 2013 at 10:31 AM, Marcos Caceres <w3c@marcosc.com> wrote: > On Tuesday, 19 February 2013 at 18:26, Chris Wilson wrote: > > > > interface MIDIPort : EventTarget { > > ... > > attribute EventHandler ondisconnect; > > ... > > } > > oooohhh! I thought it was not possible to implement this? Will the > MIDIController gain a onconenct listener? > It's not possible, without polling, to reliably implement it on the current Windows MIDI APIs. However, it is possible on Linux and OSX CoreMIDI, and I started hearing explicit requests for it from MIDI vendors. It will have to be "optional" on some underlying OSes, or have allowed long time latency (i.e. you'll have to poll the MIDI device list on Windows to tell when a new device comes online). And yes, MIDIAccess would gain an onconnect. -Chris
Received on Tuesday, 19 February 2013 18:38:53 UTC