Commit 970e3388 authored by Max Kellermann's avatar Max Kellermann

output/pulse: move code into the struct

parent 0b9f650f
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#include <stdio.h> #include <stdio.h>
class PipeOutput { class PipeOutput {
friend AudioOutputWrapper<PipeOutput>; friend struct AudioOutputWrapper<PipeOutput>;
AudioOutput base; AudioOutput base;
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
#include <SLES/OpenSLES_Android.h> #include <SLES/OpenSLES_Android.h>
class SlesOutput { class SlesOutput {
friend AudioOutputWrapper<SlesOutput>; friend struct AudioOutputWrapper<SlesOutput>;
static constexpr unsigned N_BUFFERS = 3; static constexpr unsigned N_BUFFERS = 3;
static constexpr size_t BUFFER_SIZE = 65536; static constexpr size_t BUFFER_SIZE = 65536;
......
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