diff --git a/src/output/plugins/SolarisOutputPlugin.cxx b/src/output/plugins/SolarisOutputPlugin.cxx index 3e475a6d7..8ef209f80 100644 --- a/src/output/plugins/SolarisOutputPlugin.cxx +++ b/src/output/plugins/SolarisOutputPlugin.cxx @@ -50,7 +50,9 @@ struct audio_info { #endif -struct SolarisOutput { +class SolarisOutput { + friend struct AudioOutputWrapper; + AudioOutput base; /* configuration */ @@ -62,6 +64,7 @@ struct SolarisOutput { :base(solaris_output_plugin, block), device(block.GetBlockValue("device", "/dev/audio")) {} +public: static SolarisOutput *Create(const ConfigBlock &block) { return new SolarisOutput(block); }