From 0865db564fa86df6c02ab10ec62cfbbe98f8c917 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 18 Aug 2012 15:58:04 -0700 Subject: Move the device lock into the backend function table For backend-specific implementations: this should hold the audio mixer loop for playback devices, and provide recursive mutex behavior. --- Alc/backends/loopback.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Alc/backends/loopback.c') diff --git a/Alc/backends/loopback.c b/Alc/backends/loopback.c index ae7e32b4..2597a392 100644 --- a/Alc/backends/loopback.c +++ b/Alc/backends/loopback.c @@ -74,6 +74,8 @@ static const BackendFuncs loopback_funcs = { NULL, NULL, NULL, + ALCdevice_LockDefault, + ALCdevice_UnlockDefault, loopback_get_latency }; -- cgit v1.2.3