diff options
Diffstat (limited to '')
-rw-r--r-- | src/output/plugins/PipeOutputPlugin.cxx | 3 |
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 ¶m, Error &error); +public: static AudioOutput *Create(const config_param ¶m, Error &error); bool Open(AudioFormat &audio_format, Error &error); |