From 1f42ea6cd3035e7b5c1abe1bfaee110e4a558401 Mon Sep 17 00:00:00 2001 From: kartofen Date: Tue, 18 Oct 2022 23:30:29 +0300 Subject: edit readme --- src/listener.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/listener.c b/src/listener.c index 141a3f3..9360c55 100644 --- a/src/listener.c +++ b/src/listener.c @@ -27,6 +27,8 @@ void *display_thread(void *arg) void on_recv(char *buf, int numbytes) { + (void)numbytes; + memcpy(cam_data, &(buf[REC_CAP]), BUF_CAP-REC_CAP); audio_play(buf); } -- cgit v1.2.3