Commit 82f336a7 authored by Max Kellermann's avatar Max Kellermann

output/raop: remove excessive debug messages

parent 350aa330
...@@ -66,7 +66,6 @@ static bool ...@@ -66,7 +66,6 @@ static bool
raop_mixer_set_volume(struct mixer *mixer, unsigned volume, GError **error_r) raop_mixer_set_volume(struct mixer *mixer, unsigned volume, GError **error_r)
{ {
struct raop_mixer_plugin *rm = (struct raop_mixer_plugin *)mixer; struct raop_mixer_plugin *rm = (struct raop_mixer_plugin *)mixer;
g_debug("raop_mixer_set_volume\n");
return raop_set_volume(rm->rd, volume, error_r); return raop_set_volume(rm->rd, volume, error_r);
} }
......
...@@ -168,9 +168,7 @@ static char * ...@@ -168,9 +168,7 @@ static char *
kd_lookup(struct key_data *kd, const char *key) kd_lookup(struct key_data *kd, const char *key)
{ {
while (kd) { while (kd) {
g_debug("checking key %s %s\n", kd->key, key);
if (!strcmp(kd->key, key)) { if (!strcmp(kd->key, key)) {
g_debug("found %s\n", kd->data);
return kd->data; return kd->data;
} }
kd = kd->next; kd = kd->next;
...@@ -602,8 +600,6 @@ exec_request(struct rtspcl_data *rtspcld, const char *cmd, ...@@ -602,8 +600,6 @@ exec_request(struct rtspcl_data *rtspcld, const char *cmd,
return false; return false;
} }
g_debug("sent %s", req);
if (!get_response) return true; if (!get_response) return true;
while (true) { while (true) {
...@@ -625,7 +621,6 @@ exec_request(struct rtspcl_data *rtspcld, const char *cmd, ...@@ -625,7 +621,6 @@ exec_request(struct rtspcl_data *rtspcld, const char *cmd,
"request failed"); "request failed");
return false; return false;
} }
g_debug("received %s", line);
token = strtok(line, delimiters); token = strtok(line, delimiters);
token = strtok(NULL, delimiters); token = strtok(NULL, delimiters);
...@@ -644,7 +639,6 @@ exec_request(struct rtspcl_data *rtspcld, const char *cmd, ...@@ -644,7 +639,6 @@ exec_request(struct rtspcl_data *rtspcld, const char *cmd,
i = 0; i = 0;
while (read_line(rtspcld->fd, line, sizeof(line), timeout, 0) > 0) { while (read_line(rtspcld->fd, line, sizeof(line), timeout, 0) > 0) {
struct key_data *new_kd = NULL; struct key_data *new_kd = NULL;
g_debug("%s -\n",line);
timeout = 1000; // once it started, it shouldn't take a long time timeout = 1000; // once it started, it shouldn't take a long time
if (i && line[0] == ' ') { if (i && line[0] == ' ') {
for (j = 0; j < strlen(line); j++) if (line[j] != ' ') break; for (j = 0; j < strlen(line); j++) if (line[j] != ' ') break;
...@@ -1185,7 +1179,6 @@ send_audio_data(int fd, GError **error_r) ...@@ -1185,7 +1179,6 @@ send_audio_data(int fd, GError **error_r)
raop_session->wblk_wsize += i; raop_session->wblk_wsize += i;
raop_session->wblk_remsize -= i; raop_session->wblk_remsize -= i;
//g_debug("%d bytes are sent, remaining size=%d\n",i,rd->wblk_remsize);
return true; return true;
} }
...@@ -1373,7 +1366,6 @@ raop_output_open(void *data, struct audio_format *audio_format, GError **error_r ...@@ -1373,7 +1366,6 @@ raop_output_open(void *data, struct audio_format *audio_format, GError **error_r
g_mutex_unlock(raop_session->list_mutex); g_mutex_unlock(raop_session->list_mutex);
audio_format->format = SAMPLE_FORMAT_S16; audio_format->format = SAMPLE_FORMAT_S16;
g_debug("raop_openDevice %s %d\n", rd->addr, rd->rtsp_port);
if (!raopcl_connect(rd, error_r)) if (!raopcl_connect(rd, error_r))
return false; return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment