diff options
author | Max Kellermann <max@duempel.org> | 2009-02-25 17:32:58 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-02-25 17:32:58 +0100 |
commit | 0cf4f09e4ffb4866eba5c4055fabfe1e60c780e4 (patch) | |
tree | bffb8f2c37f494233428bf51b5b8e98e23144c98 /src/output/ao_plugin.c | |
parent | 4726c7f709af4d0998b042fa74e1860953898458 (diff) | |
download | mpd-0cf4f09e4ffb4866eba5c4055fabfe1e60c780e4.tar.gz mpd-0cf4f09e4ffb4866eba5c4055fabfe1e60c780e4.tar.xz mpd-0cf4f09e4ffb4866eba5c4055fabfe1e60c780e4.zip |
output_api: removed audio_output_get_name()
Use config_get_block_string("name") instead of audio_output_get_name().
Diffstat (limited to '')
-rw-r--r-- | src/output/ao_plugin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output/ao_plugin.c b/src/output/ao_plugin.c index ca790e879..d5e4b03ce 100644 --- a/src/output/ao_plugin.c +++ b/src/output/ao_plugin.c @@ -75,7 +75,7 @@ static void audioOutputAo_error(const char *msg) } static void * -audioOutputAo_initDriver(struct audio_output *ao, +audioOutputAo_initDriver(G_GNUC_UNUSED struct audio_output *ao, G_GNUC_UNUSED const struct audio_format *audio_format, const struct config_param *param) { @@ -103,7 +103,7 @@ audioOutputAo_initDriver(struct audio_output *ao, } g_debug("using ao driver \"%s\" for \"%s\"\n", ai->short_name, - audio_output_get_name(ao)); + config_get_block_string(param, "name", NULL)); value = config_get_block_string(param, "options", NULL); if (value != NULL) { |