scrcpy/app/tests
Romain Vimont cfa4f7e2f2 Replace locks by atomics in audio player
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.

PR #4572 <https://github.com/Genymobile/scrcpy/pull/4572>
2024-02-17 16:01:33 +01:00
..
test_adb_parser.c Fix "ip route" parsing 2023-04-02 19:30:23 +02:00
test_audiobuf.c Replace locks by atomics in audio player 2024-02-17 16:01:33 +01:00
test_binary.c Add conversion from float to fixed-point i16 2022-08-28 15:23:08 +02:00
test_cli.c Add separate video and audio playback options 2023-05-27 10:08:10 +02:00
test_control_msg_serialize.c Forward action button to device 2023-01-30 20:57:54 +01:00
test_device_msg_deserialize.c Add device clipboard set acknowledgement 2021-11-23 21:15:05 +01:00
test_orientation.c Add --display-orientation 2023-11-23 23:27:28 +01:00
test_str.c Replace sprintf() with safer snprintf() 2023-10-25 16:13:34 +02:00
test_strbuf.c Add missing includes 2021-11-24 21:44:29 +01:00
test_vecdeque.c Add missing voids for empty parameter list 2023-10-23 21:50:40 +02:00
test_vector.c Add missing voids for empty parameter list 2023-10-23 21:50:40 +02:00