Add macros to initialize full set of descriptors required for USB Audio Class 2 instance. Descriptors start with Interface Association Descriptor that binds together the AudioControl interface and all AudioStreaming interfaces. AudioStreaming interfaces have alternate setting 0 without any endpoints and alternate setting 1 with isochronous endpoint with max packet size calculated on maximum sample frequency, number of channels, subslot size and clock synchronization (asynchronous endpoints require +1 sample). Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| bt_hci.c | ||
| Kconfig | ||
| Kconfig.bt | ||
| Kconfig.cdc_acm | ||
| Kconfig.cdc_ecm | ||
| Kconfig.loopback | ||
| Kconfig.msc | ||
| Kconfig.template.instances_count | ||
| loopback.c | ||
| usbd_cdc_acm.c | ||
| usbd_cdc_ecm.c | ||
| usbd_msc_scsi.c | ||
| usbd_msc_scsi.h | ||
| usbd_msc.c | ||
| usbd_msc.ld | ||
| usbd_uac2_macros.h | ||