diff --git a/src/mixer/MixerAll.cxx b/src/mixer/MixerAll.cxx index da96f93f3..2d9c9080e 100644 --- a/src/mixer/MixerAll.cxx +++ b/src/mixer/MixerAll.cxx @@ -84,7 +84,7 @@ output_mixer_set_volume(AudioOutputControl &ao, unsigned volume) noexcept /* software mixers are always updated, even if they are disabled */ - if (!ao.IsEnabled() && !mixer->IsPlugin(software_mixer_plugin)) + if (!ao.IsReallyEnabled() && !mixer->IsPlugin(software_mixer_plugin)) return false; try { diff --git a/src/output/Control.hxx b/src/output/Control.hxx index fa1dfbece..8f3b5fa6e 100644 --- a/src/output/Control.hxx +++ b/src/output/Control.hxx @@ -288,6 +288,13 @@ public: return !output; } + /** + * Caller must lock the mutex. + */ + bool IsReallyEnabled() const noexcept { + return really_enabled; + } + /** * Caller must lock the mutex. */