Tidy up and/or suppress some debug messages

This commit is contained in:
Mike Brady
2017-07-22 18:09:39 +02:00
parent 1e16b74d64
commit 5663858c63
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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) {
+2 -2
View File
@@ -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) {
+2 -2
View File
@@ -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);