diff --git a/src/output/plugins/AoOutputPlugin.cxx b/src/output/plugins/AoOutputPlugin.cxx index d61fc4604..a4f8cf527 100644 --- a/src/output/plugins/AoOutputPlugin.cxx +++ b/src/output/plugins/AoOutputPlugin.cxx @@ -37,7 +37,9 @@ static ao_sample_format OUR_AO_FORMAT_INITIALIZER; static unsigned ao_output_ref; -struct AoOutput { +class AoOutput { + friend struct AudioOutputWrapper; + AudioOutput base; const size_t write_size; @@ -48,6 +50,7 @@ struct AoOutput { AoOutput(const ConfigBlock &block); ~AoOutput(); +public: static AoOutput *Create(const ConfigBlock &block) { return new AoOutput(block); }