]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Quieten some debug messages
authorMike Brady <mikebrady@eircom.net>
Mon, 5 Feb 2018 19:56:21 +0000 (19:56 +0000)
committerMike Brady <mikebrady@eircom.net>
Mon, 5 Feb 2018 19:56:21 +0000 (19:56 +0000)
player.c
rtp.c

index 5924bf30da1a468051baacc317dd68efa0e7d31d..8641d1da610b7a4b83a75a013aca1b1a282c0dfe 100644 (file)
--- a/player.c
+++ b/player.c
@@ -1628,7 +1628,7 @@ static void *player_thread_func(void *arg) {
   }
 
   // set the default volume to whaterver it was before, as stored in the config airplay_volume
-  debug(1, "Set initial volume to %f.", config.airplay_volume);
+  debug(3, "Set initial volume to %f.", config.airplay_volume);
 
   player_volume(config.airplay_volume, conn);
   int64_t frames_to_drop = 0;
diff --git a/rtp.c b/rtp.c
index 570a0db58a3f389bdc7f8ef235925298bcdd0934..43a6d3b0caf9cd516f50532d775ea045a165e821 100644 (file)
--- a/rtp.c
+++ b/rtp.c
@@ -63,7 +63,7 @@ void rtp_terminate(rtsp_conn_info *conn) {
 }
 
 void *rtp_audio_receiver(void *arg) {
-  debug(2, "Audio receiver -- Server RTP thread starting.");
+  debug(3, "Audio receiver -- Server RTP thread starting.");
 
   // we inherit the signal mask (SIGUSR1)
   rtsp_conn_info *conn = (rtsp_conn_info *)arg;
@@ -165,7 +165,7 @@ void *rtp_audio_receiver(void *arg) {
     warn("Audio receiver -- Unknown RTP packet of type 0x%02X length %d.", type, nread);
   }
 
-  debug(2, "Audio receiver -- Server RTP thread interrupted. terminating.");
+  debug(3, "Audio receiver -- Server RTP thread interrupted. terminating.");
   close(conn->audio_socket);
 
   return NULL;
@@ -174,7 +174,7 @@ void *rtp_audio_receiver(void *arg) {
 void *rtp_control_receiver(void *arg) {
   // we inherit the signal mask (SIGUSR1)
 
-  debug(2, "Control receiver -- Server RTP thread starting.");
+  debug(3, "Control receiver -- Server RTP thread starting.");
 
   rtsp_conn_info *conn = (rtsp_conn_info *)arg;
 
@@ -299,14 +299,14 @@ void *rtp_control_receiver(void *arg) {
             nread);
   }
 
-  debug(2, "Control RTP thread interrupted. terminating.");
+  debug(3, "Control RTP thread interrupted. terminating.");
   close(conn->control_socket);
 
   return NULL;
 }
 
 void *rtp_timing_sender(void *arg) {
-  debug(2, "Timing sender thread starting.");
+  debug(3, "Timing sender thread starting.");
   rtsp_conn_info *conn = (rtsp_conn_info *)arg;
   struct timing_request {
     char leader;
@@ -382,12 +382,12 @@ void *rtp_timing_sender(void *arg) {
       wait_time -= wait_interval;
     }
   }
-  debug(2, "rtp_timing_sender thread interrupted. terminating.");
+  debug(3, "rtp_timing_sender thread interrupted. terminating.");
   return NULL;
 }
 
 void *rtp_timing_receiver(void *arg) {
-  debug(2, "Timing receiver -- Server RTP thread starting.");
+  debug(3, "Timing receiver -- Server RTP thread starting.");
   // we inherit the signal mask (SIGUSR1)
   rtsp_conn_info *conn = (rtsp_conn_info *)arg;
 
@@ -603,14 +603,14 @@ void *rtp_timing_receiver(void *arg) {
     }
   }
 
-  debug(2, "Timing thread interrupted. terminating.");
+  debug(3, "Timing thread interrupted. terminating.");
   conn->timing_sender_stop = 1;
   void *retval;
   pthread_kill(timer_requester, SIGUSR1);
   debug(3, "Wait for timer requester to exit.");
   pthread_join(timer_requester, &retval);
   debug(3, "Closed and terminated timer requester thread.");
-  debug(2, "Timing RTP thread terminated.");
+  debug(3, "Timing RTP thread terminated.");
   close(conn->timing_socket);
 
   return NULL;