Re: [web-midi-api] MIDI input/output disconnection - is it permanent? (#79)

"gets port 0" means "is at index 0 in the live input() list". What happens in the live input list if I disconnect a device and attach another device?

Suppose that:
```javascript
var inputs = midiAccess.inputs();
```

Results in:
```javascript
inputs ===  [InputPort_forDevice1, InputPort_forDevice2]
```

What will the same operation result if I disconnect Device1 and connect Device3?

---
Reply to this email directly or view it on GitHub:
https://github.com/WebAudio/web-midi-api/issues/79#issuecomment-24097047

Received on Monday, 9 September 2013 17:22:36 UTC