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".
This commit is contained in:
Max Kellermann
2009-11-05 19:55:00 +01:00
parent 4ec25b5d64
commit 88abfc0d0f
3 changed files with 5 additions and 6 deletions

View File

@@ -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) {