From 5e78bb68ae389f2b9df01d72d56ebaa59c74c797 Mon Sep 17 00:00:00 2001 From: c vw Date: Fri, 28 May 2021 16:56:23 +0200 Subject: [PATCH] error in mutex in ALSA audio module --- 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