aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-11-05 19:55:00 +0100
committerMax Kellermann <max@duempel.org>2009-11-05 19:55:00 +0100
commit88abfc0d0fb5cb876888aa2efca41593d0aa1ad0 (patch)
tree05e81560aaab2b35ab3ba81d6fb1b6d7ec0e08b6 /src
parent4ec25b5d64bca0f13f5b914b8f50f1f0eb4e7662 (diff)
downloadmpd-88abfc0d0fb5cb876888aa2efca41593d0aa1ad0.tar.gz
mpd-88abfc0d0fb5cb876888aa2efca41593d0aa1ad0.tar.xz
mpd-88abfc0d0fb5cb876888aa2efca41593d0aa1ad0.zip
output/jack: added option "client_name"
Instead of using MPD's audio output name (setting "name"), use a separate configuration option. Change the default to "Music Player Daemon".
Diffstat (limited to 'src')
-rw-r--r--src/output/jack_output_plugin.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/output/jack_output_plugin.c b/src/output/jack_output_plugin.c
index fba921e04..3d38a9d2d 100644
--- a/src/output/jack_output_plugin.c
+++ b/src/output/jack_output_plugin.c
@@ -212,9 +212,8 @@ mpd_jack_init(G_GNUC_UNUSED const struct audio_format *audio_format,
const char *value;
jd = g_new(struct jack_data, 1);
- jd->name = config_get_block_string(param, "name", "mpd_jack");
-
- g_debug("mpd_jack_init (pid=%d)", getpid());
+ jd->name = config_get_block_string(param, "client_name",
+ "Music Player Daemon");
value = config_get_block_string(param, "ports", NULL);
if (value != NULL) {