From 66a2c5669e1fcd709a00bd4de8ddfb0d3a0c2a58 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 26 Mar 2009 18:23:23 +0100 Subject: output_plugin: replaced output_plugin.get_mixer() with mixer_plugin The mixer core library is now responsible for creating and managing the mixer object. This removes duplicated code from the output plugins. --- src/mixer_all.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mixer_all.c') diff --git a/src/mixer_all.c b/src/mixer_all.c index bfbb9dfb2..252cb61ab 100644 --- a/src/mixer_all.c +++ b/src/mixer_all.c @@ -42,7 +42,7 @@ output_mixer_get_volume(unsigned i) if (!output->enabled) return -1; - mixer = ao_plugin_get_mixer(output->plugin, output->data); + mixer = output->mixer; if (mixer == NULL) return -1; @@ -81,7 +81,7 @@ output_mixer_set_volume(unsigned i, int volume, bool relative) if (!output->enabled) return false; - mixer = ao_plugin_get_mixer(output->plugin, output->data); + mixer = output->mixer; if (mixer == NULL) return false; -- cgit v1.2.3