]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
quieten a few debug messages
authorMike Brady <mikebrady@eircom.net>
Sat, 9 Feb 2019 17:35:41 +0000 (17:35 +0000)
committerMike Brady <mikebrady@eircom.net>
Sat, 9 Feb 2019 17:35:41 +0000 (17:35 +0000)
audio_alsa.c

index 9658832a5cd031f0a3304f1783e023c1f80c9c80..711a1767a47e5fe363b01f66cd69e46aedc85164 100644 (file)
@@ -1545,7 +1545,7 @@ void *alsa_buffer_monitor_thread_code(__attribute__((unused)) void *arg) {
       do_alsa_device_init_if_needed();
     }
     int sleep_time_ms = (int)(config.audio_backend_silence_scan_interval * 1000);
-    pthread_cleanup_debug_mutex_lock(&alsa_mutex, 200000, 1);
+    pthread_cleanup_debug_mutex_lock(&alsa_mutex, 200000, 0);
     // check possible state transitions here
     if ((alsa_backend_state == abm_disconnected) && (config.keep_dac_busy != 0)) {
       // open the dac and move to abm_connected mode
@@ -1620,7 +1620,7 @@ void *alsa_buffer_monitor_thread_code(__attribute__((unused)) void *arg) {
         }
       }
     }
-    debug_mutex_unlock(&alsa_mutex, 3);
+    debug_mutex_unlock(&alsa_mutex, 0);
     pthread_cleanup_pop(0);       // release the mutex
     usleep(sleep_time_ms * 1000); // has a cancellation point in it
   }