Mixer: use reference instead of pointer for MixerPlugin

This commit is contained in:
Max Kellermann
2014-02-05 17:25:47 +01:00
parent f86e159536
commit 855f26c43d
6 changed files with 21 additions and 29 deletions

View File

@@ -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");