mirror of https://github.com/Genymobile/scrcpy
Improve audio compensation thresholds
Use different thresholds for enabling and disabling compensation. Concretely, enable compensation if the difference between the average and the target buffering levels exceeds 4 ms (instead of 1 ms). This avoids unnecessary compensation due to small noise in buffering level estimation. But keep a smaller threshold (1 ms) for disabling compensation, so that the buffering level is restored closer to the target value. This avoids to keep the actual level close to the compensation threshold. PR #4572 <https://github.com/Genymobile/scrcpy/pull/4572>pull/4572/head
parent
cfa4f7e2f2
commit
44abed5c68
Loading…
Reference in New Issue