diff options
author | Max Kellermann <max@duempel.org> | 2014-02-05 17:25:47 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-02-05 17:25:47 +0100 |
commit | 855f26c43d0a9346e6670f09325f1e2b4d354757 (patch) | |
tree | 7543bbc8b3ab1991b8cb28995c075558f239ff50 /src/output | |
parent | f86e15953621901c468bfc2a1140c854a91b5a16 (diff) | |
download | mpd-855f26c43d0a9346e6670f09325f1e2b4d354757.tar.gz mpd-855f26c43d0a9346e6670f09325f1e2b4d354757.tar.xz mpd-855f26c43d0a9346e6670f09325f1e2b4d354757.zip |
Mixer: use reference instead of pointer for MixerPlugin
Diffstat (limited to '')
-rw-r--r-- | src/output/Init.cxx | 4 |
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); |