// DATAL
(data >> 8) & 0xff, // DATAH
reg}; // Register address
return libusb_control_transfer(handle, LIBUSB_ENDPOINT_OUT |
LIBUSB_REQUEST_TYPE_CLASS | LIBUSB_RECIPIENT_ENDPOINT,
LIBUSB_REQUEST_SET_CON
;
case 3:
printf("32K\n");
break;
default:
printf("reserved\n");
}
hid_close(handle);
hid_exit();
return 0;
}
Best regards,
Denis Shulyaka
hardware with libusb, or can I do it with ALSA only?
Please advise.
Best regards,
Denis Shulyaka
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm
Hi,
2014-01-16 12:04 GMT+04:00 Clemens Ladisch :
> Denis Shulyaka wrote:
> > 2014/1/14 Clemens Ladisch :
> >> This device's descriptor do not define a mixer control
> >> for this control.
> >>
> >> Apparently, you have to set the SPDIFMIX bit.
y experience with ALSA code. Just a
small hint would be appreciated) Can I somehow define it in the
descriptor?
Best regards,
Denis Shulyaka
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Business
Usage Type Data
wMaxPacketSize 0x0003 1x 3 bytes
bInterval 1
Device Status: 0x
(Bus Powered)
pi@speaker ~ $
Best regards,
Denis Shulyaka
lsusb_v
Description
i.e.,
Input). For the first one I have no idea.
I will try to experiment with different values of the controls, but
unfortunately for the following two weeks I will not have any SPDIF
signal source to play with.
Best regards,
Denis Shulyaka
---
on
which of the two last options is preferable.
Thanks in advance!
Best regards,
Denis Shulyaka
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Cri