mirror of
https://github.com/Genymobile/scrcpy
synced 2024-11-15 06:12:53 +00:00
6a01c39aac
The audio output thread only reads samples from the buffer, and most of the time, the audio receiver thread only writes samples to the buffer. In these cases, using atomics avoids lock contention. There are still corner cases where the audio receiver thread needs to "read" samples (and drop them), so lock only in these cases. |
||
---|---|---|
.. | ||
data | ||
prebuilt-deps | ||
src | ||
tests | ||
meson.build | ||
scrcpy-windows.manifest | ||
scrcpy-windows.rc | ||
scrcpy.1 |