Re: [Alsa-user] Get SPDIF-in sample rate

2017-07-19 Thread Denis Shulyaka
// 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

Re: [Alsa-user] Get SPDIF-in sample rate

2017-07-18 Thread Denis Shulyaka
; case 3: printf("32K\n"); break; default: printf("reserved\n"); } hid_close(handle); hid_exit(); return 0; } Best regards, Denis Shulyaka

[Alsa-user] Get SPDIF-in sample rate

2017-07-17 Thread 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

Re: [Alsa-user] Hardware loopback

2014-06-30 Thread Denis Shulyaka
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.

Re: [Alsa-user] Hardware loopback

2014-01-14 Thread Denis Shulyaka
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

Re: [Alsa-user] Hardware loopback

2014-01-14 Thread Denis Shulyaka
Usage Type Data wMaxPacketSize 0x0003 1x 3 bytes bInterval 1 Device Status: 0x (Bus Powered) pi@speaker ~ $ Best regards, Denis Shulyaka lsusb_v Description

Re: [Alsa-user] Hardware loopback

2014-01-13 Thread Denis Shulyaka
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 ---

[Alsa-user] Hardware loopback

2014-01-13 Thread 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