diff options
-rw-r--r-- | OpenAL32/Include/alMain.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 95753cc4..e31d0146 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -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{}; |