output/null: convert struct to class
This commit is contained in:
parent
575a5bd0b8
commit
05d47bb09a
|
@ -23,13 +23,16 @@
|
||||||
#include "../Wrapper.hxx"
|
#include "../Wrapper.hxx"
|
||||||
#include "../Timer.hxx"
|
#include "../Timer.hxx"
|
||||||
|
|
||||||
struct NullOutput {
|
class NullOutput {
|
||||||
|
friend struct AudioOutputWrapper<NullOutput>;
|
||||||
|
|
||||||
AudioOutput base;
|
AudioOutput base;
|
||||||
|
|
||||||
bool sync;
|
bool sync;
|
||||||
|
|
||||||
Timer *timer;
|
Timer *timer;
|
||||||
|
|
||||||
|
public:
|
||||||
NullOutput()
|
NullOutput()
|
||||||
:base(null_output_plugin) {}
|
:base(null_output_plugin) {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue