summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mixer/MixerInternal.hxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mixer/MixerInternal.hxx b/src/mixer/MixerInternal.hxx
index 4e2e50657..1191bea0c 100644
--- a/src/mixer/MixerInternal.hxx
+++ b/src/mixer/MixerInternal.hxx
@@ -42,19 +42,17 @@ public:
/**
* Is the mixer device currently open?
*/
- bool open;
+ bool open = false;
/**
* Has this mixer failed, and should not be reopened
* automatically?
*/
- bool failed;
+ bool failed = false;
public:
explicit Mixer(const MixerPlugin &_plugin, MixerListener &_listener)
- :plugin(_plugin), listener(_listener),
- open(false),
- failed(false) {}
+ :plugin(_plugin), listener(_listener) {}
Mixer(const Mixer &) = delete;