output/oss: convert struct to class

This commit is contained in:
Max Kellermann 2015-01-07 18:40:30 +01:00
parent 15d29da43b
commit 18e32abda9
1 changed files with 4 additions and 1 deletions

View File

@ -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) {}