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

@@ -149,7 +149,7 @@ MultipleOutputs::SetSoftwareVolume(unsigned volume)
const auto mixer = ao->mixer;
if (mixer != nullptr &&
mixer->plugin == &software_mixer_plugin)
&mixer->plugin == &software_mixer_plugin)
mixer_set_volume(mixer, volume, IgnoreError());
}
}