aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/base.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-01-12 02:37:48 -0800
committerChris Robinson <[email protected]>2018-01-12 02:37:48 -0800
commite634564b26091fc315fdc592f4f87fdff86be729 (patch)
tree539c03ddb93689fe9fad12a68e20284d7309ff93 /Alc/backends/base.h
parentdae5faedb05c3a889a0bb1f957e610c8af85a155 (diff)
Make a couple functions inline
Diffstat (limited to 'Alc/backends/base.h')
-rw-r--r--Alc/backends/base.h7
1 files changed, 7 insertions, 0 deletions
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 */