Skip to content

Commit

Permalink
Merge pull request #275 from mjwilson-google/event-listener
Browse files Browse the repository at this point in the history
Specify adding an EventListener also opens MIDIInput ports
  • Loading branch information
mjwilson-google authored Jan 7, 2025
2 parents c07b3a1 + 54965d6 commit 6e85e43
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 6e85e43

Please sign in to comment.