diff options
author | Chris Robinson <[email protected]> | 2013-12-29 04:24:32 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2013-12-29 04:24:32 -0800 |
commit | 699d84491f2f01a95b8210ba7234dcebc8b4f817 (patch) | |
tree | d0221554417bb0609988417773e70f5817e145e6 /Alc/midi/base.c | |
parent | d030e078790ca24f977a888f53c11c129082abe8 (diff) |
Add pan and attenuation properties
Diffstat (limited to 'Alc/midi/base.c')
-rw-r--r-- | Alc/midi/base.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Alc/midi/base.c b/Alc/midi/base.c index 1a298ba4..1c6a2fcf 100644 --- a/Alc/midi/base.c +++ b/Alc/midi/base.c @@ -304,6 +304,8 @@ void ALfontsound_Construct(ALfontsound *self) self->ModLfoToFilterCutoff = 0; self->ModEnvToFilterCutoff = 0; + self->Pan = 0; + self->ModEnv.DelayTime = -12000; self->ModEnv.AttackTime = -12000; self->ModEnv.HoldTime = -12000; @@ -322,6 +324,8 @@ void ALfontsound_Construct(ALfontsound *self) self->VolEnv.KeyToHoldTime = 0; self->VolEnv.KeyToDecayTime = 0; + self->Attenuation = 0; + self->CoarseTuning = 0; self->FineTuning = 0; |