diff options
Diffstat (limited to '')
-rw-r--r-- | src/output/plugins/OssOutputPlugin.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/output/plugins/OssOutputPlugin.cxx b/src/output/plugins/OssOutputPlugin.cxx index 366f7fa56..36a960b5d 100644 --- a/src/output/plugins/OssOutputPlugin.cxx +++ b/src/output/plugins/OssOutputPlugin.cxx @@ -58,7 +58,9 @@ #include "util/Manual.hxx" #endif -struct OssOutput { +class OssOutput { + friend struct AudioOutputWrapper<OssOutput>; + AudioOutput base; #ifdef AFMT_S24_PACKED @@ -80,6 +82,7 @@ struct OssOutput { */ int oss_format; +public: OssOutput(const char *_device=nullptr) :base(oss_output_plugin), fd(-1), device(_device) {} |