You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(usb_device_uac): enforce MIC_INTERVAL_MS pacing to avoid usb_mic_task overrun
usb_device_uac: Throttle usb_mic_task to match MIC_INTERVAL_MS
The usb_mic_task previously ran in a tight loop, pulling audio data as fast as possible.
This caused USB audio to exceed the expected data rate, leading to glitches and distorted output.
It also triggered the task watchdog due to lack of blocking.
This patch introduces vTaskDelayUntil() to enforce the configured MIC_INTERVAL_MS rate,
ensuring correct USB audio pacing and RTOS compliance.
0 commit comments