summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-12-27 18:57:18 +0100
committerMax Kellermann <max@duempel.org>2014-12-27 18:57:18 +0100
commit987c02e946157574d5c6e5e0eda55b5fd5a258ab (patch)
treeb0d85973220de063111e99743d9906cd2661eea7
parent5c0bc612fee3e87479ec9046f1b4ed495d6f9762 (diff)
output/pipe: convert to class
-rw-r--r--src/output/plugins/PipeOutputPlugin.cxx3
1 files changed, 2 insertions, 1 deletions
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 <stdio.h>
-struct PipeOutput {
+class PipeOutput {
AudioOutput base;
std::string cmd;
@@ -39,6 +39,7 @@ struct PipeOutput {
bool Configure(const config_param &param, Error &error);
+public:
static AudioOutput *Create(const config_param &param, Error &error);
bool Open(AudioFormat &audio_format, Error &error);