Files
scrcpy/app
Romain Vimont 0c5b7af269 Avoid "negative" average buffering
Average buffering may not be negative.

Since dropping samples instantly reduces buffering, it is applied
immediately to the average value.

However, if an audio output issue causes the SDL callback to be called
too infrequently, samples will (silently) not be consumed as expected.
As this will cause samples to be dropped due to overbuffering, the
average value may drop below 0, which makes no sense.
2024-02-08 12:31:03 +01:00
..
2023-12-14 17:08:19 +01:00
2024-02-08 12:31:03 +01:00
2023-12-02 12:30:19 +01:00