mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-04-21 01:33:36 +00:00
We need several FIFO queues (a queue of packets, a queue of messages, etc.). Some of them are implemented using cbuf, a generic circular buffer. But for recording, we need to store the packets in an unbounded queue until they are written, so the queue was implemented manually. Create a generic implementation (using macros) to avoid reimplementing it every time. |
||
|---|---|---|
| .. | ||
| test_cbuf.c | ||
| test_control_msg_serialize.c | ||
| test_device_msg_deserialize.c | ||
| test_queue.c | ||
| test_strutil.c | ||