]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Quieten some debug messages.
authorMike Brady <4265913+mikebrady@users.noreply.github.com>
Thu, 19 Jan 2023 13:04:43 +0000 (13:04 +0000)
committerMike Brady <4265913+mikebrady@users.noreply.github.com>
Thu, 19 Jan 2023 13:04:43 +0000 (13:04 +0000)
rtsp.c
shairport.c

diff --git a/rtsp.c b/rtsp.c
index 11f09ed07a56bbfa3e2c43a5c4ab59bd43d9511a..83ee0261692331a233b2b7046f4acef05d82f371 100644 (file)
--- a/rtsp.c
+++ b/rtsp.c
@@ -758,7 +758,7 @@ void cleanup_threads(void) {
       conns[i] = NULL;
     }
     if (conns[i] != NULL) {
-      debug(1, "Airplay Volume for connection %d is %.6f.", conns[i]->connection_number,
+      debug(2, "Airplay Volume for connection %d is %.6f.", conns[i]->connection_number,
             suggested_volume(conns[i]));
       connection_count++;
     }
@@ -774,7 +774,7 @@ void cleanup_threads(void) {
       debug(2, "%d active connections.", connection_count);
     old_connection_count = connection_count;
   }
-  debug(1, "Airplay Volume for new connections is %.6f.", suggested_volume(NULL));
+  debug(2, "Airplay Volume for new connections is %.6f.", suggested_volume(NULL));
 }
 
 // park a null at the line ending, and return the next line pointer
index 17ab9717ed68f29dfb7be12086637e10de1f4700..4829c61698eb8097bc9a29308bc6677620b2d46f 100644 (file)
@@ -2423,14 +2423,14 @@ int main(int argc, char **argv) {
   debug(1, "busy timeout time is %d.", config.timeout);
   debug(1, "drift tolerance is %f seconds.", config.tolerance);
   debug(1, "password is \"%s\".", strnull(config.password));
-  debug(1, "default airplay volume is %.6f.", config.default_airplay_volume);
-  debug(1, "high threshold airplay volume is %.6f.", config.high_threshold_airplay_volume);
+  debug(1, "default airplay volume is: %.6f.", config.default_airplay_volume);
+  debug(1, "high threshold airplay volume is: %.6f.", config.high_threshold_airplay_volume);
   if (config.limit_to_high_volume_threshold_time_in_minutes == 0)
     debug(1, "check for higher-than-threshold volume for new play session is disabled.");
   else
     debug(1,
-          "suggest default airplay volume for new play session instead of higher-than-threshold "
-          "airplay volume after %d minutes.",
+          "suggest default airplay volume for new play sessions instead of higher-than-threshold "
+          "airplay volume after: %d minutes.",
           config.limit_to_high_volume_threshold_time_in_minutes);
   debug(1, "ignore_volume_control is %d.", config.ignore_volume_control);
   if (config.volume_max_db_set)
@@ -2516,7 +2516,7 @@ int main(int argc, char **argv) {
   // calculate the 12-hex-digit prefix by hashing the service name.
   uint8_t ap_md5[16];
 
-  debug(1, "size of hw_addr is %u.", sizeof(config.hw_addr));
+  // debug(1, "size of hw_addr is %u.", sizeof(config.hw_addr));
 #ifdef CONFIG_OPENSSL
   MD5_CTX ctx;
   MD5_Init(&ctx);