[Alsa-user] Hardware loopback

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

Re: [Alsa-user] Hardware loopback

2014-01-13 Thread Denis Shulyaka
SPDIF signal source to play with. Best regards, Denis Shulyaka -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development

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: Binary data

Re: [Alsa-user] Hardware loopback

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

Re: [Alsa-user] Hardware loopback

2014-06-30 Thread Denis Shulyaka
Hi, 2014-01-16 12:04 GMT+04:00 Clemens Ladisch cladi...@googlemail.com: Denis Shulyaka wrote: 2014/1/14 Clemens Ladisch cladi...@googlemail.com: This device's descriptor do not define a mixer control for this control. Apparently, you have to set the SPDIFMIX bit. Well, do you have

[Alsa-user] Get SPDIF-in sample rate

2017-07-17 Thread Denis Shulyaka
with the 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.link

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

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

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

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