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 "../Timer.hxx"
struct NullOutput {
class NullOutput {
friend struct AudioOutputWrapper<NullOutput>;
AudioOutput base;
bool sync;
Timer *timer;
public:
NullOutput()
:base(null_output_plugin) {}