aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/midi/base.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-12-29 02:25:40 -0800
committerChris Robinson <[email protected]>2013-12-29 02:25:40 -0800
commitd9aedc14167c7f5c4fc02f95de6be89ef8db63c2 (patch)
treec484a1e0cb9928df7873b03221f2f3bf4b6a1cfa /Alc/midi/base.c
parentfc928bb75a8b677e101785e50b8c4cf0d39a62aa (diff)
Add a few more pitch properties
Diffstat (limited to 'Alc/midi/base.c')
-rw-r--r--Alc/midi/base.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Alc/midi/base.c b/Alc/midi/base.c
index 11c43d25..00114f59 100644
--- a/Alc/midi/base.c
+++ b/Alc/midi/base.c
@@ -295,6 +295,10 @@ void ALfontsound_Construct(ALfontsound *self)
self->MinVelocity = 0;
self->MaxVelocity = 127;
+ self->ModLfoToPitch = 0;
+ self->VibratoLfoToPitch = 0;
+ self->ModEnvToPitch = 0;
+
self->VolEnv.DelayTime = -12000;
self->VolEnv.AttackTime = -12000;
self->VolEnv.HoldTime = -12000;