20 Oct
2012
20 Oct
'12
6:15 p.m.
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