aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALc.c3
-rw-r--r--Alc/midi/base.c2
2 files changed, 5 insertions, 0 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 9dcc5be0..15bc62f1 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -284,6 +284,9 @@ static const ALCfunction alcFunctions[] = {
DECL(alGenSoundfontsSOFT),
DECL(alDeleteSoundfontsSOFT),
DECL(alIsSoundfontSOFT),
+ DECL(alSoundfontSamplesSOFT),
+ DECL(alSoundfontMapSamplesSOFT),
+ DECL(alSoundfontUnmapSamplesSOFT),
DECL(alGenPresetsSOFT),
DECL(alDeletePresetsSOFT),
DECL(alIsPresetSOFT),
diff --git a/Alc/midi/base.c b/Alc/midi/base.c
index 46d4bd76..f39aaba3 100644
--- a/Alc/midi/base.c
+++ b/Alc/midi/base.c
@@ -429,6 +429,8 @@ void ALsoundfont_Construct(ALsoundfont *self)
self->Samples = NULL;
self->NumSamples = 0;
+ self->Mapped = AL_FALSE;
+
self->id = 0;
}