add support for MIDI devices without audio control stream.

Submitted by:	Hans Petter Selasky
This commit is contained in:
thompsa 2009-11-22 21:26:27 +00:00
parent 1936d4dd85
commit 49624dd6ce

View File

@ -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);
}