summaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALc.c3
-rw-r--r--Alc/midi/base.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 15bc62f1..d55ab4b9 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -290,6 +290,9 @@ static const ALCfunction alcFunctions[] = {
DECL(alGenPresetsSOFT),
DECL(alDeletePresetsSOFT),
DECL(alIsPresetSOFT),
+ DECL(alPresetiSOFT),
+ DECL(alPresetivSOFT),
+ DECL(alGetPresetivSOFT),
DECL(alGenInstrumentsSOFT),
DECL(alDeleteInstrumentsSOFT),
DECL(alIsInstrumentSOFT),
diff --git a/Alc/midi/base.c b/Alc/midi/base.c
index b7e94fd2..0d81952b 100644
--- a/Alc/midi/base.c
+++ b/Alc/midi/base.c
@@ -425,6 +425,9 @@ void ALsfpreset_Construct(ALsfpreset *self)
{
self->ref = 0;
+ self->Preset = 0;
+ self->Bank = 0;
+
self->Zones = NULL;
self->NumZones = 0;