output/null: convert struct to class
This commit is contained in:
@@ -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) {}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user