output/pipe: convert to class
This commit is contained in:
parent
5c0bc612fe
commit
987c02e946
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue