diff options
author | Max Kellermann <max@duempel.org> | 2009-03-26 18:23:23 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-03-26 18:23:23 +0100 |
commit | 66a2c5669e1fcd709a00bd4de8ddfb0d3a0c2a58 (patch) | |
tree | c138f37dfc13af01df8606ed7a8f882964a32f27 /src/mixer_all.c | |
parent | 209c8a540c80faffb6b04ac6e7fed64a03c679ac (diff) | |
download | mpd-66a2c5669e1fcd709a00bd4de8ddfb0d3a0c2a58.tar.gz mpd-66a2c5669e1fcd709a00bd4de8ddfb0d3a0c2a58.tar.xz mpd-66a2c5669e1fcd709a00bd4de8ddfb0d3a0c2a58.zip |
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.
Diffstat (limited to '')
-rw-r--r-- | src/mixer_all.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |