commit | 750a3496d57e42b38101ea8d0d70e47e90d88455 | [log] [tgz] |
---|---|---|
author | Robert Wu <robertwu@google.com> | Thu Feb 10 18:43:08 2022 +0000 |
committer | Robert Wu <robertwu@google.com> | Thu Feb 17 00:06:58 2022 +0000 |
tree | 4968e642469cdd0be423cc368010345f1a029033 | |
parent | 4c6239b1564f123dac66600c8a63b509ba3bbcf5 [diff] |
Rewrite MIDI 1.0 USB Host mode in Java ALSA has multiple bugs related to MIDI 1.0. This CL removes Android's dependency on ALSA for MIDI 1.0 USB Host mode. MIDI to USB MIDI conversion is done in UsbMidiPacketConverter.java ALSA is still used for peripheral mode. Bug: 217392573 Test: Ran local unit tests with UsbMidiPacketConverter Test: MidiScope/MidiKeyboard with multiple MIDI keyboards Change-Id: I0b86f9bd26e4c9a50576f704deb6b53fc9a5c130