28 Nov
2014
28 Nov
'14
1:37 p.m.
28.11.2014 17:31, Jurgen Kramer wrote:
case 2: /* DSD mode requested */
err = snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), 0,
USB_DIR_OUT|USB_TYPE_VENDOR|USB_RECIP_INTERFACE,
1, 1, NULL, 0);
if (err < 0)
return err;
break;
case 1: /* PCM mode requested */
err = snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), 0,
USB_DIR_OUT|USB_TYPE_VENDOR|USB_RECIP_INTERFACE,
0, 1, NULL, 0);
if (err > 0)
return err;
break;
maybe if (err < 0)?
--
Alexander E. Patrakov