From f11aa09f7c9995e6fe3700cb61ea900c3b0eda1c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 20 Feb 2019 19:24:43 +0100 Subject: [PATCH] mixer/pulse: add `const` to `volume_scale_factor` --- src/mixer/plugins/PulseMixerPlugin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mixer/plugins/PulseMixerPlugin.cxx b/src/mixer/plugins/PulseMixerPlugin.cxx index 1b4ee9c36..696c3a967 100644 --- a/src/mixer/plugins/PulseMixerPlugin.cxx +++ b/src/mixer/plugins/PulseMixerPlugin.cxx @@ -42,7 +42,7 @@ class PulseMixer final : public Mixer { bool online = false; struct pa_cvolume volume; - float volume_scale_factor; + const float volume_scale_factor; public: PulseMixer(PulseOutput &_output, MixerListener &_listener,