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/oss.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Alc/backends/oss.c') diff --git a/Alc/backends/oss.c b/Alc/backends/oss.c index 6786f8c6..02150a8b 100644 --- a/Alc/backends/oss.c +++ b/Alc/backends/oss.c @@ -495,6 +495,8 @@ static const BackendFuncs oss_funcs = { oss_stop_capture, oss_capture_samples, oss_available_samples, + ALCdevice_LockDefault, + ALCdevice_UnlockDefault, oss_get_latency }; -- cgit v1.2.3