| commit | d338c3c8f8063a85fb82042affd6d197f5793be3 | [log] [tgz] |
|---|---|---|
| author | Robert Wu <robertwu@google.com> | Mon Mar 21 15:29:02 2022 +0000 |
| committer | Robert Wu <robertwu@google.com> | Thu Mar 24 16:42:25 2022 +0000 |
| tree | 54d49e6152cc352308d267eb7428706a298eec50 | |
| parent | f48450217c2039ced18ee48ec447a099578cb174 [diff] |
USB MIDI: Create encoder per output port UsbMidiEncoder is not thread-safe. Therefore, each output port should use its own encoder. Bug: 225884009 Test: MidiKeyboard/MidiScope on both MIDI 2.0 and MIDI 1.0 paths. Test: Verified M-Audio Keyboard with only input has the correct logs. Change-Id: I43bd7381982403766b7f37c22d55ef5d19013120