MixerAll: restore "null" mixer volume from state file

This commit is contained in:
Max Kellermann 2015-01-16 19:48:26 +01:00
parent 1d8544ef3b
commit 4c74016b1a
1 changed files with 2 additions and 1 deletions

View File

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