Tidy up and/or suppress some debug messages
This commit is contained in:
+1
-1
@@ -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) {
|
||||
|
||||
|
||||
@@ -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
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user