mirror of
https://github.com/twinksoftware/Gearslip.git
synced 2026-11-10 16:02:25 +01:00
The 2020 Civic (issue #43) acks one audio chunk every 45 to 85 ms whatever it holds, so the 21 ms chunks Gearslip sends reached it at a quarter to half of real time: a second of music, then silence. While the window is full, AudioLink now measures the car's gap between acks, and when it's well over what a chunk holds, gathers the capture into chunks that last the gap, rounded up to a power of two in frames. The Civic gets 4096 frames. A car that keeps up never fills the window and gets the capture as it comes.