v5.1-beta.1
Pre-release
Pre-release
Superseded by v5.1
Root cause fix for dock audio glitch
The 1-second periodic audio pop/click when streaming via MFi docks (Onkyo ND-S1) was caused by a 64KB memmove with interrupts disabled in iap_handlepkt(). At 54 MHz, this took ~1-5ms — enough to miss the 1ms USB SOF frame deadline, causing ISO IN audio dropouts.
Fix
- Bounded memmove: only copy the remaining used bytes instead of the full 64KB buffer. For typical dock HID packets (~10 bytes), the IRQ-disabled window shrinks from ~1-5ms to <1µs.
- Removed
iap_hid_extract_buttons()workaround from v5.1-alpha.0, restoring full iAP stack processing during streaming. Dock controls now work through standard lingo handlers.