add support for MIDI devices without audio control stream.
Submitted by: Hans Petter Selasky
This commit is contained in:
parent
f1eac1007e
commit
dc6942514b
@ -559,6 +559,13 @@ uaudio_probe(device_t dev)
|
||||
else
|
||||
return (0);
|
||||
}
|
||||
|
||||
/* check for MIDI stream */
|
||||
|
||||
if ((uaa->info.bInterfaceClass == UICLASS_AUDIO) &&
|
||||
(uaa->info.bInterfaceSubClass == UISUBCLASS_MIDISTREAM)) {
|
||||
return (0);
|
||||
}
|
||||
return (ENXIO);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user