]> git.rkrishnan.org Git - pihpsdr.git/commitdiff
pulseaudio.c: removed two "unlocks" without a corresponding "lock"
authorDL1YCF <dl1ycf@darc.de>
Thu, 3 Jun 2021 15:52:30 +0000 (17:52 +0200)
committerDL1YCF <dl1ycf@darc.de>
Thu, 3 Jun 2021 15:52:30 +0000 (17:52 +0200)
pulseaudio.c

index 58318a1c465a05ca93c9b3324ae9af5f46fa5bfe..d62c2bd44546af3cfcc5ad1070a635b51cb192cb 100644 (file)
@@ -102,11 +102,9 @@ g_print("audio: state_cb: PA_CONTEXT_SETTING_NAME\n");
       break;
     case PA_CONTEXT_FAILED:
 g_print("audio: state_cb: PA_CONTEXT_FAILED\n");
-      g_mutex_unlock(&audio_mutex);
       break;
     case PA_CONTEXT_TERMINATED:
 g_print("audio: state_cb: PA_CONTEXT_TERMINATED\n");
-      g_mutex_unlock(&audio_mutex);
       break;
     case PA_CONTEXT_READY:
 g_print("audio: state_cb: PA_CONTEXT_READY\n");