mirror of
https://github.com/Genymobile/scrcpy
synced 2024-12-18 13:24:40 +00:00
53b6ee2cf4
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 |