aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-12-29 05:48:30 -0800
committerChris Robinson <[email protected]>2013-12-29 05:48:30 -0800
commit7640c658ee7c5ed75a781da692189fb206f59d64 (patch)
treee8265d8732a4c9408610e9088ad4b27a70e47c9f
parent37d183efc0cd9cf3d64b0cdff5b4ae115969f865 (diff)
Remove explicit locking from alMidiSoundfontvSOFT.
The MIDI backend can lock as it needs.
-rw-r--r--OpenAL32/alMidi.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/OpenAL32/alMidi.c b/OpenAL32/alMidi.c
index b0c63f24..c040bf36 100644
--- a/OpenAL32/alMidi.c
+++ b/OpenAL32/alMidi.c
@@ -51,9 +51,7 @@ AL_API void AL_APIENTRY alMidiSoundfontvSOFT(ALsizei count, const ALuint *ids)
alSetError(context, AL_INVALID_OPERATION);
else
{
- ALCdevice_Lock(device);
err = V(synth,selectSoundfonts)(device, count, ids);
- ALCdevice_Unlock(device);
if(err != AL_NO_ERROR)
alSetError(context, err);
}