From 5da0ac47c180aab26f73e6fa74b2a7b800eb9af5 Mon Sep 17 00:00:00 2001 From: c vw Date: Fri, 28 May 2021 16:59:17 +0200 Subject: [PATCH] Fixed error in mutex --- audio.c | 1 - 1 file changed, 1 deletion(-) diff --git a/audio.c b/audio.c index 7c54ed8..5ed0755 100644 --- a/audio.c +++ b/audio.c @@ -288,7 +288,6 @@ g_print("audio_close_input: wait for thread to complete\n"); g_thread_join(mic_read_thread_id); mic_read_thread_id=NULL; } - g_mutex_lock(&audio_mutex); if(record_handle!=NULL) { g_print("audio_close_input: snd_pcm_close\n"); snd_pcm_close (record_handle); -- 2.45.2