aboutsummaryrefslogtreecommitdiffstats
path: root/src/output
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-01-09 19:30:22 +0100
committerMax Kellermann <max@duempel.org>2015-01-09 19:30:22 +0100
commit05d47bb09aa4541a68c032d3b1a4444b9a2846bb (patch)
treea7feac1f407e39b24c0e3a6193bcb4e19e349e05 /src/output
parent575a5bd0b8f1df1cf10add1426c89a6224409e02 (diff)
downloadmpd-05d47bb09aa4541a68c032d3b1a4444b9a2846bb.tar.gz
mpd-05d47bb09aa4541a68c032d3b1a4444b9a2846bb.tar.xz
mpd-05d47bb09aa4541a68c032d3b1a4444b9a2846bb.zip
output/null: convert struct to class
Diffstat (limited to 'src/output')
-rw-r--r--src/output/plugins/NullOutputPlugin.cxx5
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) {}