Skip to content

Commit

Permalink
Specify adding an EventListener also opens MIDIInput ports
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Wilson committed Dec 30, 2024
1 parent c07b3a1 commit 54965d6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -666,8 +666,9 @@ <h2 id="MIDIPort">
Makes the [=MIDI device=] corresponding to the {{MIDIPort}}
explicitly available. Note that this call is NOT required in order
to use the {{MIDIPort}}- calling <code>send()</code> on a
{{MIDIOutput}} or attaching a MIDIMessageEvent handler on a
{{MIDIInput}} will cause an implicit open(). The underlying
{{MIDIOutput}}, attaching a MIDIMessageEvent {{EventHandler}} on a
{{MIDIInput}}, or adding a MIDIMessageEvent {{EventListener}} on a
{{MIDIInput}} will cause an implicit open(). The underlying
implementation may not need to do anything in response to this
call. However, some underlying implementations may not be able to
support shared access to [=MIDI devices=], so using explicit
Expand Down

0 comments on commit 54965d6

Please sign in to comment.