From 987c02e946157574d5c6e5e0eda55b5fd5a258ab Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 27 Dec 2014 18:57:18 +0100 Subject: output/pipe: convert to class --- src/output/plugins/PipeOutputPlugin.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/output/plugins/PipeOutputPlugin.cxx b/src/output/plugins/PipeOutputPlugin.cxx index e518a0115..8fc9c92d6 100644 --- a/src/output/plugins/PipeOutputPlugin.cxx +++ b/src/output/plugins/PipeOutputPlugin.cxx @@ -28,7 +28,7 @@ #include -struct PipeOutput { +class PipeOutput { AudioOutput base; std::string cmd; @@ -39,6 +39,7 @@ struct PipeOutput { bool Configure(const config_param ¶m, Error &error); +public: static AudioOutput *Create(const config_param ¶m, Error &error); bool Open(AudioFormat &audio_format, Error &error); -- cgit v1.2.3