summaryrefslogtreecommitdiff
path: root/src/output
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-08-10 13:07:36 +0200
committerMax Kellermann <max@musicpd.org>2017-08-10 13:07:36 +0200
commita257504ba4bbc9ae1c45b0b87a8f771b1d5b2193 (patch)
tree941600a40d20842bb06e4ba87bea23b2c9cebef0 /src/output
parentfb0dbce15b3c32a85e0a3523ba64cd1587849027 (diff)
mixer/Plugin: pass AudioOutput to init()
Fix breakage from commit bea5681fd8adbc3536ee82b031970e7861ab90f9
Diffstat (limited to 'src/output')
-rw-r--r--src/output/Init.cxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/output/Init.cxx b/src/output/Init.cxx
index c8756bb18..06d801926 100644
--- a/src/output/Init.cxx
+++ b/src/output/Init.cxx
@@ -118,19 +118,21 @@ audio_output_load_mixer(EventLoop &event_loop, FilteredAudioOutput &ao,
return nullptr;
case MixerType::NULL_:
- return mixer_new(event_loop, null_mixer_plugin, ao, listener,
+ return mixer_new(event_loop, null_mixer_plugin,
+ *ao.output, listener,
block);
case MixerType::HARDWARE:
if (plugin == nullptr)
return nullptr;
- return mixer_new(event_loop, *plugin, ao, listener,
+ return mixer_new(event_loop, *plugin,
+ *ao.output, listener,
block);
case MixerType::SOFTWARE:
- mixer = mixer_new(event_loop, software_mixer_plugin, ao,
- listener,
+ mixer = mixer_new(event_loop, software_mixer_plugin,
+ *ao.output, listener,
ConfigBlock());
assert(mixer != nullptr);