From 49c17ad520d25075b7988c51705198a3cb834e93 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 2 Jan 2014 13:53:16 -0800 Subject: Mostly load into fontsound objects directly This leaves only one unsafe alFontsoundiSOFT call. --- OpenAL32/Include/alMidi.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'OpenAL32/Include') diff --git a/OpenAL32/Include/alMidi.h b/OpenAL32/Include/alMidi.h index 8037cff8..e3b4ef26 100644 --- a/OpenAL32/Include/alMidi.h +++ b/OpenAL32/Include/alMidi.h @@ -96,11 +96,7 @@ typedef struct ALfontsound { ALuint id; } ALfontsound; -void ALfontsound_Construct(ALfontsound *self); -void ALfontsound_Destruct(ALfontsound *self); -ALenum ALfontsound_addGenerator(ALfontsound *self, ALenum generator, ALint value); -ALenum ALfontsound_addModulator(ALfontsound *self, ALenum sourceop, ALenum destop, ALint amount, ALenum amtsourceop, ALenum transop); - +ALfontsound *NewFontsound(ALCcontext *context); inline struct ALfontsound *LookupFontsound(ALCdevice *device, ALuint id) { return (struct ALfontsound*)LookupUIntMapKey(&device->FontsoundMap, id); } -- cgit v1.2.3