output/pulse: remove unnecessary initialization
This commit is contained in:
parent
99e6409a67
commit
b42732743d
|
@ -330,7 +330,6 @@ pulse_output_init(const config_param ¶m, Error &error)
|
||||||
|
|
||||||
po->mixer = nullptr;
|
po->mixer = nullptr;
|
||||||
po->mainloop = nullptr;
|
po->mainloop = nullptr;
|
||||||
po->context = nullptr;
|
|
||||||
po->stream = nullptr;
|
po->stream = nullptr;
|
||||||
|
|
||||||
return &po->base;
|
return &po->base;
|
||||||
|
@ -350,7 +349,6 @@ pulse_output_enable(AudioOutput *ao, Error &error)
|
||||||
PulseOutput *po = (PulseOutput *)ao;
|
PulseOutput *po = (PulseOutput *)ao;
|
||||||
|
|
||||||
assert(po->mainloop == nullptr);
|
assert(po->mainloop == nullptr);
|
||||||
assert(po->context == nullptr);
|
|
||||||
|
|
||||||
/* create the libpulse mainloop and start the thread */
|
/* create the libpulse mainloop and start the thread */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue