summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2019-02-20 19:25:45 +0100
committerMax Kellermann <max@musicpd.org>2019-02-20 19:25:45 +0100
commit02eb4752d3be82371e8c44ad2531f66501953d3c (patch)
treec4552be941dab8cf8ff6d3f564ebf0b24b335f88 /src
parentd9c32155844a7c01c33854679f03340f49160a29 (diff)
mixer/pulse: use C++11 initializer
Diffstat (limited to 'src')
-rw-r--r--src/mixer/plugins/PulseMixerPlugin.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mixer/plugins/PulseMixerPlugin.cxx b/src/mixer/plugins/PulseMixerPlugin.cxx
index e3ef987eb..1b4ee9c36 100644
--- a/src/mixer/plugins/PulseMixerPlugin.cxx
+++ b/src/mixer/plugins/PulseMixerPlugin.cxx
@@ -40,7 +40,7 @@
class PulseMixer final : public Mixer {
PulseOutput &output;
- bool online;
+ bool online = false;
struct pa_cvolume volume;
float volume_scale_factor;
@@ -48,7 +48,7 @@ public:
PulseMixer(PulseOutput &_output, MixerListener &_listener,
double _volume_scale_factor)
:Mixer(pulse_mixer_plugin, _listener),
- output(_output), online(false),
+ output(_output),
volume_scale_factor(_volume_scale_factor)
{
}