[alsa-devel] usb-audio: Reloop Play support (TI TUSB3200AC)

Clemens Ladisch clemens at ladisch.de
Sat Oct 20 18:15:10 CEST 2012


Didier 'Ptitjes' Villevalois wrote:
>                 .vendor_name = "Reloop",
>                 .product_name = "Play",

These aren't needed except when they are wrong in the descriptor.

>                                 .data = &(const struct audioformat) {
>                                         .formats = SNDRV_PCM_FMTBIT_S24_3LE,
>                                         .channels = 4,
>                                         .iface = 1,
>                                         .altsetting = 1,
>                                         .altset_idx = 1,
>                                         .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
>                                         .endpoint = 0x01,

You might as well set ep_attr to USB_ENDPOINT_SYNC_ADAPTIVE.


Regards,
Clemens


More information about the Alsa-devel mailing list