diff options
author | Max Kellermann <max@duempel.org> | 2015-01-09 19:30:22 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-01-09 19:30:22 +0100 |
commit | 05d47bb09aa4541a68c032d3b1a4444b9a2846bb (patch) | |
tree | a7feac1f407e39b24c0e3a6193bcb4e19e349e05 /src/output/plugins | |
parent | 575a5bd0b8f1df1cf10add1426c89a6224409e02 (diff) | |
download | mpd-05d47bb09aa4541a68c032d3b1a4444b9a2846bb.tar.gz mpd-05d47bb09aa4541a68c032d3b1a4444b9a2846bb.tar.xz mpd-05d47bb09aa4541a68c032d3b1a4444b9a2846bb.zip |
output/null: convert struct to class
Diffstat (limited to '')
-rw-r--r-- | src/output/plugins/NullOutputPlugin.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/output/plugins/NullOutputPlugin.cxx b/src/output/plugins/NullOutputPlugin.cxx index a7079d98a..e3b462da2 100644 --- a/src/output/plugins/NullOutputPlugin.cxx +++ b/src/output/plugins/NullOutputPlugin.cxx @@ -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) {} |