aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/output/plugins')
-rw-r--r--src/output/plugins/PulseOutputPlugin.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/output/plugins/PulseOutputPlugin.cxx b/src/output/plugins/PulseOutputPlugin.cxx
index 96c898ddb..f7e463e28 100644
--- a/src/output/plugins/PulseOutputPlugin.cxx
+++ b/src/output/plugins/PulseOutputPlugin.cxx
@@ -57,7 +57,9 @@ struct PulseOutput {
size_t writable;
PulseOutput()
- :base(pulse_output_plugin) {}
+ :base(pulse_output_plugin),
+ mixer(nullptr),
+ mainloop(nullptr), stream(nullptr) {}
};
void
@@ -328,10 +330,6 @@ pulse_output_init(const config_param &param, Error &error)
po->server = param.GetBlockValue("server");
po->sink = param.GetBlockValue("sink");
- po->mixer = nullptr;
- po->mainloop = nullptr;
- po->stream = nullptr;
-
return &po->base;
}