diff options
author | Max Kellermann <max@duempel.org> | 2009-02-25 18:34:02 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-02-25 18:34:02 +0100 |
commit | dcd84c19cdb71cfb594851995cdaffdf39453bdc (patch) | |
tree | ad8dd47f69aafab71e36c5975db03a26f38a3f33 /src/output/oss_plugin.c | |
parent | 0cf4f09e4ffb4866eba5c4055fabfe1e60c780e4 (diff) | |
download | mpd-dcd84c19cdb71cfb594851995cdaffdf39453bdc.tar.gz mpd-dcd84c19cdb71cfb594851995cdaffdf39453bdc.tar.xz mpd-dcd84c19cdb71cfb594851995cdaffdf39453bdc.zip |
output_plugin: don't pass audio_output object to method init()
audio_output_get_name() has been removed, which was the only function
left in output_api.h. The output plugin doesn't need the audio_output
object at all, remove the parameter from the init() method.
Diffstat (limited to '')
-rw-r--r-- | src/output/oss_plugin.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/output/oss_plugin.c b/src/output/oss_plugin.c index 6c3928629..23f0652aa 100644 --- a/src/output/oss_plugin.c +++ b/src/output/oss_plugin.c @@ -388,8 +388,7 @@ static void *oss_open_default(const struct config_param *param) } static void * -oss_initDriver(G_GNUC_UNUSED struct audio_output *audioOutput, - G_GNUC_UNUSED const struct audio_format *audio_format, +oss_initDriver(G_GNUC_UNUSED const struct audio_format *audio_format, const struct config_param *param) { const char *device = config_get_block_string(param, "device", NULL); |