Commit 6532c7e0 authored by Max Kellermann's avatar Max Kellermann

output/pulse: use C++11 initializers

parent 8b3d9342
...@@ -54,18 +54,16 @@ class PulseOutput { ...@@ -54,18 +54,16 @@ class PulseOutput {
const char *server; const char *server;
const char *sink; const char *sink;
PulseMixer *mixer; PulseMixer *mixer = nullptr;
struct pa_threaded_mainloop *mainloop; struct pa_threaded_mainloop *mainloop = nullptr;
struct pa_context *context; struct pa_context *context;
struct pa_stream *stream; struct pa_stream *stream = nullptr;
size_t writable; size_t writable;
PulseOutput() PulseOutput()
:base(pulse_output_plugin), :base(pulse_output_plugin) {}
mixer(nullptr),
mainloop(nullptr), stream(nullptr) {}
public: public:
void SetMixer(PulseMixer &_mixer); void SetMixer(PulseMixer &_mixer);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment