Skip to content

Commit 940c426

Browse files
Merge pull request #276 from mjwilson-google/pending-disconnect
Clarify what data should be sent when a port is reopened
2 parents 171204f + 96e7b22 commit 940c426

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

index.html

+5-5
Original file line numberDiff line numberDiff line change
@@ -786,9 +786,9 @@ <h2 id="MIDIPort">
786786
</li>
787787
<li>
788788
<p>
789-
If this port is an output port and has any pending data that
790-
is waiting to be sent, asynchronously begin sending that
791-
data.
789+
If this port is an output port and has any enqueued send data
790+
with timestamps in the future, asynchronously begin sending
791+
that data.
792792
</p>
793793
</li>
794794
<li>
@@ -887,8 +887,8 @@ <h2 id="MIDIPort">
887887
If the port is an input port, skip to the next step. If the
888888
output port's <a data-lt="MIDIPort.state">.state</a> is not
889889
<a data-lt="MIDIPortDeviceState.connected">"connected"</a>
890-
or if its .connection is "pending", clear all pending send
891-
data and skip to the next step. Clear any pending send data
890+
or if its .connection is "pending", clear all enqueued send
891+
data and skip to the next step. Clear any enqueued send data
892892
in the system with timestamps in the future, then finish
893893
sending any send messages with no timestamp or with a
894894
timestamp in the past or present, prior to proceeding to

0 commit comments

Comments
 (0)