diff options
author | Chris Robinson <[email protected]> | 2012-08-18 15:58:04 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-08-18 15:58:04 -0700 |
commit | 0865db564fa86df6c02ab10ec62cfbbe98f8c917 (patch) | |
tree | c3ea9c6c1dc274776fd29c409e2231fa949e9742 /Alc/backends/alsa.c | |
parent | 2b020040b41a8a8a19869263ad2816daad2e1361 (diff) |
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.
Diffstat (limited to 'Alc/backends/alsa.c')
-rw-r--r-- | Alc/backends/alsa.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Alc/backends/alsa.c b/Alc/backends/alsa.c index 880f7ac9..38653aa1 100644 --- a/Alc/backends/alsa.c +++ b/Alc/backends/alsa.c @@ -1254,6 +1254,8 @@ static const BackendFuncs alsa_funcs = { alsa_stop_capture, alsa_capture_samples, alsa_available_samples, + ALCdevice_LockDefault, + ALCdevice_UnlockDefault, alsa_get_latency }; |