Commit 18e32abd authored by Max Kellermann's avatar Max Kellermann

output/oss: convert struct to class

parent 15d29da4
......@@ -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) {}
......
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