summaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alMidi.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-01-02 13:53:16 -0800
committerChris Robinson <[email protected]>2014-01-02 13:53:16 -0800
commit49c17ad520d25075b7988c51705198a3cb834e93 (patch)
treedc54f69853aa8592bd5d1e1f3b778e22e439d83b /OpenAL32/Include/alMidi.h
parentfcf9e72202042c6c60b31305359216f6907029e9 (diff)
Mostly load into fontsound objects directly
This leaves only one unsafe alFontsoundiSOFT call.
Diffstat (limited to 'OpenAL32/Include/alMidi.h')
-rw-r--r--OpenAL32/Include/alMidi.h6
1 files changed, 1 insertions, 5 deletions
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); }