MixerAll: restore "null" mixer volume from state file
This commit is contained in:
parent
1d8544ef3b
commit
4c74016b1a
|
@ -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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue