aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/midi/base.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/midi/base.c')
-rw-r--r--Alc/midi/base.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/Alc/midi/base.c b/Alc/midi/base.c
index 82e35a9d..b726f47b 100644
--- a/Alc/midi/base.c
+++ b/Alc/midi/base.c
@@ -303,12 +303,19 @@ void ALfontsound_Construct(ALfontsound *self)
self->FilterQ = 0;
self->ModLfoToFilterCutoff = 0;
self->ModEnvToFilterCutoff = 0;
-
- self->Pan = 0;
+ self->ModLfoToVolume = 0;
self->ChorusSend = 0;
self->ReverbSend = 0;
+ self->Pan = 0;
+
+ self->ModLfo.Delay = 0;
+ self->ModLfo.Frequency = 0;
+
+ self->VibratoLfo.Delay = 0;
+ self->VibratoLfo.Frequency = 0;
+
self->ModEnv.DelayTime = -12000;
self->ModEnv.AttackTime = -12000;
self->ModEnv.HoldTime = -12000;
@@ -336,6 +343,8 @@ void ALfontsound_Construct(ALfontsound *self)
self->TuningScale = 100;
+ self->ExclusiveClass = 0;
+
self->Start = 0;
self->End = 0;
self->LoopStart = 0;