Browse Source

Add check for Roland's vendor specific MIDI descriptor

main
PaulStoffregen 5 years ago
parent
commit
00d784b69f
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      midi.cpp

+ 3
- 0
midi.cpp View File

} else if (subtype == 4) { } else if (subtype == 4) {
// Element Descriptor, midi 1.0, page 23-24 // Element Descriptor, midi 1.0, page 23-24
println(" MIDI Element (ignored)"); println(" MIDI Element (ignored)");
} else if (subtype == 0xF1 && p[3] == 2) {
// see Linux sound/usb/quirks.c create_roland_midi_quirk()
println(" Roland vendor-specific (ignored)");
} else { } else {
return false; // unknown return false; // unknown
} }

Loading…
Cancel
Save