diff options
Diffstat (limited to 'OpenAL32/alMidi.c')
-rw-r--r-- | OpenAL32/alMidi.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenAL32/alMidi.c b/OpenAL32/alMidi.c index 29e9e974..1068e852 100644 --- a/OpenAL32/alMidi.c +++ b/OpenAL32/alMidi.c @@ -83,6 +83,16 @@ done: ALCcontext_DecRef(context); } +AL_API void AL_APIENTRY alLoadSoundfontSOFT(ALuint id, size_t(*cb)(ALvoid*,size_t,ALvoid*), ALvoid *user) +{ + Reader reader; + reader.cb = cb; + reader.ptr = user; + reader.error = 0; + loadSf2(&reader, id); +} + + AL_API void AL_APIENTRY alMidiEventSOFT(ALuint64SOFT time, ALenum event, ALsizei channel, ALsizei param1, ALsizei param2) { |