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
buffer.c
buffer.h
debug.c
debug.h
libiap-sync.sh
macros.h
notification.c
platform-macros.h
platform.c
platform.h