diff options
author | Chris Robinson <[email protected]> | 2013-12-29 03:43:00 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2013-12-29 03:43:00 -0800 |
commit | d030e078790ca24f977a888f53c11c129082abe8 (patch) | |
tree | 5830e47bcd2928e8adfb12ce8588e8ba9d98e8a7 /Alc/midi/base.c | |
parent | 1d41122372c821e85a6f150d6435b9c034365e42 (diff) |
Add tuning properties
Diffstat (limited to 'Alc/midi/base.c')
-rw-r--r-- | Alc/midi/base.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Alc/midi/base.c b/Alc/midi/base.c index 19adc810..1a298ba4 100644 --- a/Alc/midi/base.c +++ b/Alc/midi/base.c @@ -322,12 +322,18 @@ void ALfontsound_Construct(ALfontsound *self) self->VolEnv.KeyToHoldTime = 0; self->VolEnv.KeyToDecayTime = 0; + self->CoarseTuning = 0; + self->FineTuning = 0; + + self->LoopMode = AL_NONE; + + self->TuningScale = 100; + self->Start = 0; self->End = 0; self->LoopStart = 0; self->LoopEnd = 0; self->SampleRate = 0; - self->LoopMode = AL_NONE; self->PitchKey = 0; self->PitchCorrection = 0; self->SampleType = AL_NONE; |