82 log(
"snd_usb_caiaq_midi_send(%p): usb_submit_urb() failed,"
96 snd_usb_caiaq_midi_send(dev, substream);
105 .open = snd_usb_caiaq_midi_output_open,
106 .close = snd_usb_caiaq_midi_output_close,
107 .trigger = snd_usb_caiaq_midi_output_trigger,
112 .open = snd_usb_caiaq_midi_input_open,
113 .close = snd_usb_caiaq_midi_input_close,
114 .trigger = snd_usb_caiaq_midi_input_trigger,
118 int port,
const char *
buf,
int len)
132 device->
spec.num_midi_out,
133 device->
spec.num_midi_in,
144 if (device->
spec.num_midi_out > 0) {
147 &snd_usb_caiaq_midi_output);
150 if (device->
spec.num_midi_in > 0) {
153 &snd_usb_caiaq_midi_input);
156 device->
rmidi = rmidi;
166 if (urb->status != 0)