DescriptionWeb MIDI: distributes MIDIPort information asynchronously
MidiPortInfoList for input and output devices were accessible
from MidiHost, and MidiHost distributed it via IPC on sending
MidiMsg_SessionStarted. To update these device lists asynchronously
and keep them consistent in all renderers, stop exposing them
and invoke a client method, AddInputPort() or AddOutputPort() insteads.
These client methods are called for all existing devices on opening
a session at once.
If MidiManager supports, these can be called for a device on each
connection and disconnection.
BUG=422333
TEST=media_unittests
Committed: https://crrev.com/81a31130a4b43684454423203003bcc3fbe319f6
Cr-Commit-Position: refs/heads/master@{#300894}
Patch Set 1 #Patch Set 2 : done #Patch Set 3 : unittests #Patch Set 4 : [rebase] #Patch Set 5 : typo on ipc #
Total comments: 1
Patch Set 6 : rebase #Patch Set 7 : C++11 #
Total comments: 2
Patch Set 8 : [rebase] #Patch Set 9 : review #8 #
Total comments: 4
Patch Set 10 : review #11 #Patch Set 11 : speculative win build fix #Patch Set 12 : . => -> #
Messages
Total messages: 23 (8 generated)
|