output/null: convert struct to class

This commit is contained in:
Max Kellermann 2015-01-09 19:30:22 +01:00
parent 575a5bd0b8
commit 05d47bb09a
1 changed files with 4 additions and 1 deletions

View File

@ -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) {}