aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/midi/base.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-12-29 03:18:31 -0800
committerChris Robinson <[email protected]>2013-12-29 03:18:31 -0800
commit1d41122372c821e85a6f150d6435b9c034365e42 (patch)
tree38ea001d55848fc19743b9710368a8b34342eff8 /Alc/midi/base.c
parentdeecbbc55d44a0043c92464949c83c9722d6be00 (diff)
Add filter properties
Diffstat (limited to 'Alc/midi/base.c')
-rw-r--r--Alc/midi/base.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/Alc/midi/base.c b/Alc/midi/base.c
index 7eb2d2c5..19adc810 100644
--- a/Alc/midi/base.c
+++ b/Alc/midi/base.c
@@ -299,6 +299,11 @@ void ALfontsound_Construct(ALfontsound *self)
self->VibratoLfoToPitch = 0;
self->ModEnvToPitch = 0;
+ self->FilterCutoff = 13500;
+ self->FilterQ = 0;
+ self->ModLfoToFilterCutoff = 0;
+ self->ModEnvToFilterCutoff = 0;
+
self->ModEnv.DelayTime = -12000;
self->ModEnv.AttackTime = -12000;
self->ModEnv.HoldTime = -12000;