Commit 987c02e9 authored by Max Kellermann's avatar Max Kellermann

output/pipe: convert to class

parent 5c0bc612
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
#include <stdio.h> #include <stdio.h>
struct PipeOutput { class PipeOutput {
AudioOutput base; AudioOutput base;
std::string cmd; std::string cmd;
...@@ -39,6 +39,7 @@ struct PipeOutput { ...@@ -39,6 +39,7 @@ struct PipeOutput {
bool Configure(const config_param &param, Error &error); bool Configure(const config_param &param, Error &error);
public:
static AudioOutput *Create(const config_param &param, Error &error); static AudioOutput *Create(const config_param &param, Error &error);
bool Open(AudioFormat &audio_format, Error &error); bool Open(AudioFormat &audio_format, Error &error);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment