Fix the initial device refcount

This commit is contained in:
Chris Robinson
2018-11-18 08:14:23 -08:00
parent aef52be432
commit ef7995cfd0
+1 -1
View File
@@ -573,7 +573,7 @@ typedef struct RealMixParams {
typedef void (*POSTPROCESS)(ALCdevice *device, ALsizei SamplesToDo);
struct ALCdevice_struct {
RefCount ref{0u};
RefCount ref{1u};
ATOMIC(ALenum) Connected{AL_TRUE};
DeviceType Type{};