Commit 59e4d7f0 authored by Max Kellermann's avatar Max Kellermann

output/fifo: convert struct to class

parent 46474483
...@@ -37,7 +37,9 @@ ...@@ -37,7 +37,9 @@
#define FIFO_BUFFER_SIZE 65536 /* pipe capacity on Linux >= 2.6.11 */ #define FIFO_BUFFER_SIZE 65536 /* pipe capacity on Linux >= 2.6.11 */
struct FifoOutput { class FifoOutput {
friend struct AudioOutputWrapper<FifoOutput>;
AudioOutput base; AudioOutput base;
AllocatedPath path; AllocatedPath path;
...@@ -48,6 +50,7 @@ struct FifoOutput { ...@@ -48,6 +50,7 @@ struct FifoOutput {
bool created; bool created;
Timer *timer; Timer *timer;
public:
FifoOutput() FifoOutput()
:base(fifo_output_plugin), :base(fifo_output_plugin),
path(AllocatedPath::Null()), input(-1), output(-1), path(AllocatedPath::Null()), input(-1), output(-1),
......
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