mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-06-19 05:09:46 -04:00
When a variable `pos` became larger than `AUDIO_OUTPUT_FRAMES`, `count` will get overflowed number. To avoid the overflow, continue the loop when `AUDIO_OUTPUT_FRAMES - pos` is not positive.