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.
This commit is contained in:
@@ -61,7 +61,7 @@ audio_output_disable_index(unsigned idx)
|
||||
ao->enabled = false;
|
||||
idle_add(IDLE_OUTPUT);
|
||||
|
||||
mixer = ao_plugin_get_mixer(ao->plugin, ao->data);
|
||||
mixer = ao->mixer;
|
||||
if (mixer != NULL) {
|
||||
mixer_close(mixer);
|
||||
idle_add(IDLE_MIXER);
|
||||
|
||||
Reference in New Issue
Block a user