output: use the software mixer plugin

Do all the software volume stuff inside each output thread, not in the
player thread.  This allows one software mixer per output device, and
also allows the user to configure the mixer type (hardware or
software) for each audio output.

This moves the global "mixer_type" setting into the "audio_output"
section, deprecating the "mixer_enabled" flag.
This commit is contained in:
Max Kellermann
2009-07-06 22:00:50 +02:00
parent da8095db54
commit 0275690b5c
12 changed files with 80 additions and 153 deletions

View File

@@ -31,9 +31,6 @@ struct mixer;
struct mixer_plugin;
struct config_param;
void
mixer_disable_all(void);
struct mixer *
mixer_new(const struct mixer_plugin *plugin, const struct config_param *param);