aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/alState.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenAL32/alState.c b/OpenAL32/alState.c
index 180a8c04..f2f25f97 100644
--- a/OpenAL32/alState.c
+++ b/OpenAL32/alState.c
@@ -30,6 +30,7 @@
#include "alAuxEffectSlot.h"
#include "alMidi.h"
+#include "backends/base.h"
#include "midi/base.h"
@@ -346,9 +347,9 @@ AL_API ALint64SOFT AL_APIENTRY alGetInteger64SOFT(ALenum pname)
case AL_MIDI_CLOCK_SOFT:
device = context->Device;
- ALCdevice_Lock(device);
+ V0(device->Backend,lock)();
value = MidiSynth_getTime(device->Synth);
- ALCdevice_Unlock(device);
+ V0(device->Backend,unlock)();
break;
case AL_SOUNDFONTS_SIZE_SOFT: