From 5663858c63e1263e9a853c1dc334db9aa1011295 Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Sat, 22 Jul 2017 18:09:39 +0200 Subject: [PATCH] Tidy up and/or suppress some debug messages --- audio_alsa.c | 2 +- rtsp.c | 4 ++-- shairport.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/audio_alsa.c b/audio_alsa.c index fa2ef13e..cd91e046 100644 --- a/audio_alsa.c +++ b/audio_alsa.c @@ -342,7 +342,7 @@ static int init(int argc, char **argv) { die("Invalid audio argument: %s", argv[optind]); } - debug(1, "Output device name is \"%s\".", alsa_out_dev); + debug(1, "alsa output device name is \"%s\".", alsa_out_dev); if (hardware_mixer) { diff --git a/rtsp.c b/rtsp.c index b6d9b855..42565914 100644 --- a/rtsp.c +++ b/rtsp.c @@ -1496,8 +1496,8 @@ static void handle_announce(rtsp_conn_info *conn, rtsp_message *req, rtsp_messag for (i = 0; i < sizeof(conn->stream.fmtp) / sizeof(conn->stream.fmtp[0]); i++) conn->stream.fmtp[i] = atoi(strsep(&pfmtp, " \t")); // here we should check the sanity ot the fmtp values - for (i = 0; i < sizeof(conn->stream.fmtp) / sizeof(conn->stream.fmtp[0]); i++) - debug(1," fmtp[%2d] is: %10d",i,conn->stream.fmtp[i]); + //for (i = 0; i < sizeof(conn->stream.fmtp) / sizeof(conn->stream.fmtp[0]); i++) + // debug(1," fmtp[%2d] is: %10d",i,conn->stream.fmtp[i]); char *hdr = msg_get_header(req, "X-Apple-Client-Name"); if (hdr) { diff --git a/shairport.c b/shairport.c index 24ff176b..bad20077 100644 --- a/shairport.c +++ b/shairport.c @@ -1283,8 +1283,8 @@ int main(int argc, char **argv) { debug(1, "rtsp listening port is %d.", config.port); debug(1, "udp base port is %d.", config.udp_port_base); debug(1, "udp port range is %d.", config.udp_port_range); - debug(1, "Shairport Sync player name is \"%s\".", config.service_name); - debug(1, "Audio Output name is \"%s\".", config.output_name); + debug(1, "player name is \"%s\".", config.service_name); + debug(1, "backend is \"%s\".", config.output_name); debug(1, "on-start action is \"%s\".", config.cmd_start); debug(1, "on-stop action is \"%s\".", config.cmd_stop); debug(1, "wait-cmd status is %d.", config.cmd_blocking);