scrcpy/app
Romain Vimont a7cf4daf3b Avoid negative average buffering
The assumption that underflow and overbuffering are caused by jitter
(and that the delay between the producer and consumer will be caught up)
does not always hold.

For example, if the consumer does not consume at the expected rate (the
SDL callback is not called often enough, which is an audio output
issue), many samples will be dropped due to overbuffering, decreasing
the average buffering indefinitely.

Prevent the average buffering to become negative to limit the
consequences of an unexpected behavior.

PR #4572 <https://github.com/Genymobile/scrcpy/pull/4572>
2024-02-17 16:09:38 +01:00
..
data Fix incorrect compgen usage 2023-12-14 17:08:19 +01:00
prebuilt-deps Upgrade sdl (2.28.5) for Windows 2023-11-25 21:06:45 +01:00
src Avoid negative average buffering 2024-02-17 16:09:38 +01:00
tests Replace locks by atomics in audio player 2024-02-17 16:01:33 +01:00
meson.build Replace locks by atomics in audio player 2024-02-17 16:01:33 +01:00
scrcpy-windows.manifest Set DPI awareness for Windows 2021-12-20 19:13:02 +01:00
scrcpy-windows.rc Bump version to 2.3.1 2023-12-02 12:30:19 +01:00
scrcpy.1 Simulate tilt multitouch event by pressing Shift 2023-12-15 22:12:07 +01:00