Move the device lock into the backend function table
commit0865db564fa86df6c02ab10ec62cfbbe98f8c917
authorChris Robinson <chris.kcat@gmail.com>
Sat, 18 Aug 2012 22:58:04 +0000 (18 15:58 -0700)
committerChris Robinson <chris.kcat@gmail.com>
Sat, 18 Aug 2012 22:58:04 +0000 (18 15:58 -0700)
treec3ea9c6c1dc274776fd29c409e2231fa949e9742
parent2b020040b41a8a8a19869263ad2816daad2e1361
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.
18 files changed:
Alc/ALc.c
Alc/ALu.c
Alc/backends/alsa.c
Alc/backends/coreaudio.c
Alc/backends/dsound.c
Alc/backends/loopback.c
Alc/backends/mmdevapi.c
Alc/backends/null.c
Alc/backends/opensl.c
Alc/backends/oss.c
Alc/backends/portaudio.c
Alc/backends/pulseaudio.c
Alc/backends/sndio.c
Alc/backends/solaris.c
Alc/backends/wave.c
Alc/backends/winmm.c
OpenAL32/Include/alMain.h
OpenAL32/alAuxEffectSlot.c