output/pipe: convert to class

This commit is contained in:
Max Kellermann 2014-12-27 18:57:18 +01:00
parent 5c0bc612fe
commit 987c02e946
1 changed files with 2 additions and 1 deletions

View File

@ -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 {
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);