kshoji / USB-MIDI-Driver

USB MIDI Driver for Android 3.1 or later
Apache License 2.0
289 stars 104 forks source link

Reduce byte array allocations #45

Closed kshoji closed 8 years ago

kshoji commented 9 years ago

On MidiOutputDevice, there are many array allocations like new byte[4]. This causes performance problem.

kshoji commented 8 years ago

Fixed at commit 746b295f16445dc64dc5b82abafa9b225a615240 and 04c701e09a2afdd80d761b3b590be459edc598a5.