From fc928bb75a8b677e101785e50b8c4cf0d39a62aa Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 29 Dec 2013 02:14:10 -0800 Subject: Add volume envelope properties --- OpenAL32/Include/alMidi.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'OpenAL32/Include/alMidi.h') diff --git a/OpenAL32/Include/alMidi.h b/OpenAL32/Include/alMidi.h index 44d05c1a..cdaebc28 100644 --- a/OpenAL32/Include/alMidi.h +++ b/OpenAL32/Include/alMidi.h @@ -23,6 +23,17 @@ typedef struct ALfontsound { ALint MinKey, MaxKey; ALint MinVelocity, MaxVelocity; + struct { + ALint DelayTime; + ALint AttackTime; + ALint HoldTime; + ALint DecayTime; + ALint SustainVol; + ALint ReleaseTime; + ALint KeyToHoldTime; + ALint KeyToDecayTime; + } VolEnv; + ALuint Start; ALuint End; ALuint LoopStart; -- cgit v1.2.3