]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Stop noisy mutex unlock
authorMike Brady <mikebrady@eircom.net>
Mon, 19 Nov 2018 19:43:17 +0000 (19:43 +0000)
committerMike Brady <mikebrady@eircom.net>
Mon, 19 Nov 2018 19:43:17 +0000 (19:43 +0000)
audio_alsa.c

index faa6ef93fc5f82f8b2eb397bda9537749d876c3c..60b75d463ffe6762a50416fd10a3cb40171dfa30 100644 (file)
@@ -1152,7 +1152,7 @@ static void mute(int mute_state_requested) {
   mute_request_pending = 1;
   overriding_mute_state_requested = mute_state_requested;
   do_mute(mute_state_requested);
-  debug_mutex_unlock(&alsa_mutex, 0);
+  debug_mutex_unlock(&alsa_mutex, 3);
   pthread_cleanup_pop(0); // release the mutex
 }