Commit 4c74016b authored by Max Kellermann's avatar Max Kellermann

MixerAll: restore "null" mixer volume from state file

parent 1d8544ef
...@@ -149,7 +149,8 @@ MultipleOutputs::SetSoftwareVolume(unsigned volume) ...@@ -149,7 +149,8 @@ MultipleOutputs::SetSoftwareVolume(unsigned volume)
const auto mixer = ao->mixer; const auto mixer = ao->mixer;
if (mixer != nullptr && if (mixer != nullptr &&
&mixer->plugin == &software_mixer_plugin) (&mixer->plugin == &software_mixer_plugin ||
&mixer->plugin == &null_mixer_plugin))
mixer_set_volume(mixer, volume, IgnoreError()); mixer_set_volume(mixer, volume, IgnoreError());
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment