DescriptionSupport sending MIDI data with throttling
The Web MIDI API allows sending of MIDI data, but we need to take
care to not send too much data from the renderer to the browser.
We implement a throttling mechanism where the browser process
acknowledges the number of sent bytes back to the renderer,
and the renderer only sends new data if it hasn't already sent
too much unacknowledged data.
BUG=163795
TEST=none
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=214570
Patch Set 1 #Patch Set 2 : more comments #
Total comments: 17
Patch Set 3 : Address first comments - throttle sent bytes in browser too #Patch Set 4 : #
Total comments: 2
Patch Set 5 : put lock around whole block #
Total comments: 12
Patch Set 6 : #
Total comments: 18
Patch Set 7 : de-indent block #Patch Set 8 : Address Chris Palmer comments #Patch Set 9 : #Patch Set 10 : rebase #Patch Set 11 : Fix Android compile #
Messages
Total messages: 21 (0 generated)
|