From e634564b26091fc315fdc592f4f87fdff86be729 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 12 Jan 2018 02:37:48 -0800 Subject: Make a couple functions inline --- Alc/backends/base.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Alc/backends/base.h') diff --git a/Alc/backends/base.h b/Alc/backends/base.h index 8464fdee..318e86fc 100644 --- a/Alc/backends/base.h +++ b/Alc/backends/base.h @@ -152,4 +152,11 @@ ALCbackendFactory *ALCnullBackendFactory_getFactory(void); ALCbackendFactory *ALCwaveBackendFactory_getFactory(void); ALCbackendFactory *ALCloopbackFactory_getFactory(void); + +inline void ALCdevice_Lock(ALCdevice *device) +{ V0(device->Backend,lock)(); } + +inline void ALCdevice_Unlock(ALCdevice *device) +{ V0(device->Backend,unlock)(); } + #endif /* AL_BACKENDS_BASE_H */ -- cgit v1.2.3