aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-08-24 01:36:00 +0200
committerMax Kellermann <max@duempel.org>2011-08-24 01:47:27 +0200
commit82f336a78f924782256bbadab4b608db8499b359 (patch)
tree8762ab0edeb691fe420aa77fe44c8c1a6cc612b5
parent350aa330220685721eaeb3f8e5ee669a5ef4d015 (diff)
downloadmpd-82f336a78f924782256bbadab4b608db8499b359.tar.gz
mpd-82f336a78f924782256bbadab4b608db8499b359.tar.xz
mpd-82f336a78f924782256bbadab4b608db8499b359.zip
output/raop: remove excessive debug messages
-rw-r--r--src/mixer/raop_mixer_plugin.c1
-rw-r--r--src/output/raop_output_plugin.c8
2 files changed, 0 insertions, 9 deletions
diff --git a/src/mixer/raop_mixer_plugin.c b/src/mixer/raop_mixer_plugin.c
index 8173305bd..83ccd2289 100644
--- a/src/mixer/raop_mixer_plugin.c
+++ b/src/mixer/raop_mixer_plugin.c
@@ -66,7 +66,6 @@ static bool
raop_mixer_set_volume(struct mixer *mixer, unsigned volume, GError **error_r)
{
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);
}
diff --git a/src/output/raop_output_plugin.c b/src/output/raop_output_plugin.c
index 69818a4b0..ff15c09d4 100644
--- a/src/output/raop_output_plugin.c
+++ b/src/output/raop_output_plugin.c
@@ -168,9 +168,7 @@ static char *
kd_lookup(struct key_data *kd, const char *key)
{
while (kd) {
- g_debug("checking key %s %s\n", kd->key, key);
if (!strcmp(kd->key, key)) {
- g_debug("found %s\n", kd->data);
return kd->data;
}
kd = kd->next;
@@ -602,8 +600,6 @@ exec_request(struct rtspcl_data *rtspcld, const char *cmd,
return false;
}
- g_debug("sent %s", req);
-
if (!get_response) return true;
while (true) {
@@ -625,7 +621,6 @@ exec_request(struct rtspcl_data *rtspcld, const char *cmd,
"request failed");
return false;
}
- g_debug("received %s", line);
token = strtok(line, delimiters);
token = strtok(NULL, delimiters);
@@ -644,7 +639,6 @@ exec_request(struct rtspcl_data *rtspcld, const char *cmd,
i = 0;
while (read_line(rtspcld->fd, line, sizeof(line), timeout, 0) > 0) {
struct key_data *new_kd = NULL;
- g_debug("%s -\n",line);
timeout = 1000; // once it started, it shouldn't take a long time
if (i && line[0] == ' ') {
for (j = 0; j < strlen(line); j++) if (line[j] != ' ') break;
@@ -1185,7 +1179,6 @@ send_audio_data(int fd, GError **error_r)
raop_session->wblk_wsize += i;
raop_session->wblk_remsize -= i;
- //g_debug("%d bytes are sent, remaining size=%d\n",i,rd->wblk_remsize);
return true;
}
@@ -1373,7 +1366,6 @@ raop_output_open(void *data, struct audio_format *audio_format, GError **error_r
g_mutex_unlock(raop_session->list_mutex);
audio_format->format = SAMPLE_FORMAT_S16;
- g_debug("raop_openDevice %s %d\n", rd->addr, rd->rtsp_port);
if (!raopcl_connect(rd, error_r))
return false;