From e6e7e461c092bb2aa3211910a6eadf1472c07f1d Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 3 Jan 2014 18:48:47 -0800 Subject: Avoid using alFontsoundiSOFT when loading a soundfont This should now make the soundfont loader thread-safe. --- OpenAL32/Include/alMidi.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'OpenAL32/Include/alMidi.h') diff --git a/OpenAL32/Include/alMidi.h b/OpenAL32/Include/alMidi.h index bd9b4bac..e452a732 100644 --- a/OpenAL32/Include/alMidi.h +++ b/OpenAL32/Include/alMidi.h @@ -94,6 +94,8 @@ typedef struct ALfontsound { ALuint id; } ALfontsound; +void ALfontsound_setPropi(ALfontsound *self, ALCcontext *context, ALenum param, ALint value); + ALfontsound *NewFontsound(ALCcontext *context); inline struct ALfontsound *LookupFontsound(ALCdevice *device, ALuint id) -- cgit v1.2.3