rockbox/firmware/usbstack/iap
Paul Sauro 3bd18f5a44 usb iap: correct sample rate descriptors and packet cadence
Advertise only the implemented 32, 44.1 and 48 kHz stereo formats. Add
128-byte packets at 32 kHz and wrap the 44.1 kHz cadence at ten packets;
a uint8_t wrap at 256 otherwise emits extra samples every cycle.

Use the serialized UAC header length (including baInterfaceNr), maintain
the active alternate setting, accept alt 0 on non-streaming interfaces,
and retain the last valid sample rate when a SET_CUR request is rejected.

Change-Id: I41dab55fc0c7d2e6474492f97062e9838bc3aebf
2026-09-25 13:49:30 -04:00
..
libiap iap: Improve IAPGeneralCommandID_RequestIPodName 2026-08-07 08:48:05 -04:00
audio.c usb iap: correct sample rate descriptors and packet cadence 2026-09-25 13:49:30 -04:00
audio.h usb: add usb iAP driver 2026-05-03 12:40:54 -04:00
buffer.c usb: add usb iAP driver 2026-05-03 12:40:54 -04:00
buffer.h usb: add usb iAP driver 2026-05-03 12:40:54 -04:00
debug.c usb: add usb iAP driver 2026-05-03 12:40:54 -04:00
debug.h usb: add usb iAP driver 2026-05-03 12:40:54 -04:00
libiap-sync.sh usb: add usb iAP driver 2026-05-03 12:40:54 -04:00
macros.h usb: add usb iAP driver 2026-05-03 12:40:54 -04:00
notification.c usb: add usb iAP driver 2026-05-03 12:40:54 -04:00
platform-macros.h usb: add usb iAP driver 2026-05-03 12:40:54 -04:00
platform.c usb: add usb iAP driver 2026-05-03 12:40:54 -04:00
platform.h usb: add usb iAP driver 2026-05-03 12:40:54 -04:00