From: c vw <dl1ycf@darc.de>
Date: Fri, 28 May 2021 14:59:17 +0000 (+0200)
Subject: Fixed error in mutex
X-Git-Url: https://git.rkrishnan.org/components/frontends/something?a=commitdiff_plain;h=5da0ac47c180aab26f73e6fa74b2a7b800eb9af5;p=pihpsdr.git

Fixed error in mutex
---

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);