aboutsummaryrefslogtreecommitdiffstats
path: root/src/output
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/output/Init.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output/Init.cxx b/src/output/Init.cxx
index ff1a8f837..8d1e7d341 100644
--- a/src/output/Init.cxx
+++ b/src/output/Init.cxx
@@ -129,10 +129,10 @@ audio_output_load_mixer(EventLoop &event_loop, AudioOutput *ao,
if (plugin == nullptr)
return nullptr;
- return mixer_new(event_loop, plugin, ao, param, error);
+ return mixer_new(event_loop, *plugin, ao, param, error);
case MIXER_TYPE_SOFTWARE:
- mixer = mixer_new(event_loop, &software_mixer_plugin, nullptr,
+ mixer = mixer_new(event_loop, software_mixer_plugin, nullptr,
config_param(),
IgnoreError());
assert(mixer != nullptr);