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 /test/read_mixer.cxx | |
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-- | test/read_mixer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/read_mixer.cxx b/test/read_mixer.cxx index 4849b7a8c..a2071c4bf 100644 --- a/test/read_mixer.cxx +++ b/test/read_mixer.cxx @@ -116,7 +116,7 @@ int main(int argc, gcc_unused char **argv) EventLoop event_loop; Error error; - Mixer *mixer = mixer_new(event_loop, &alsa_mixer_plugin, nullptr, + Mixer *mixer = mixer_new(event_loop, alsa_mixer_plugin, nullptr, config_param(), error); if (mixer == NULL) { LogError(error, "mixer_new() failed"); |