From 4c74016b1aaf8a4cbcb15b5883626e98d4f420ab Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 16 Jan 2015 19:48:26 +0100 Subject: MixerAll: restore "null" mixer volume from state file --- src/mixer/MixerAll.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mixer/MixerAll.cxx b/src/mixer/MixerAll.cxx index cb035d0cc..f652a9a95 100644 --- a/src/mixer/MixerAll.cxx +++ b/src/mixer/MixerAll.cxx @@ -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()); } } -- cgit v1.2.3