From 59e4d7f0f5daaa120c6eccededd8aa687c56d739 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 17 Jan 2015 19:16:18 +0100 Subject: output/fifo: convert struct to class --- src/output/plugins/FifoOutputPlugin.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/output') diff --git a/src/output/plugins/FifoOutputPlugin.cxx b/src/output/plugins/FifoOutputPlugin.cxx index 5956b708f..d425ce85d 100644 --- a/src/output/plugins/FifoOutputPlugin.cxx +++ b/src/output/plugins/FifoOutputPlugin.cxx @@ -37,7 +37,9 @@ #define FIFO_BUFFER_SIZE 65536 /* pipe capacity on Linux >= 2.6.11 */ -struct FifoOutput { +class FifoOutput { + friend struct AudioOutputWrapper; + AudioOutput base; AllocatedPath path; @@ -48,6 +50,7 @@ struct FifoOutput { bool created; Timer *timer; +public: FifoOutput() :base(fifo_output_plugin), path(AllocatedPath::Null()), input(-1), output(-1), -- cgit v1.2.3