summaryrefslogtreecommitdiff
path: root/src/mixer
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2019-02-20 19:24:43 +0100
committerMax Kellermann <max@musicpd.org>2019-02-20 19:25:53 +0100
commitf11aa09f7c9995e6fe3700cb61ea900c3b0eda1c (patch)
tree537083db166a208492ae96f9e07383bb856f3d8d /src/mixer
parent02eb4752d3be82371e8c44ad2531f66501953d3c (diff)
mixer/pulse: add `const` to `volume_scale_factor`
Diffstat (limited to 'src/mixer')
-rw-r--r--src/mixer/plugins/PulseMixerPlugin.cxx2
1 files changed, 1 insertions, 1 deletions
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,