aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alMidi.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-12-29 02:14:10 -0800
committerChris Robinson <[email protected]>2013-12-29 02:14:10 -0800
commitfc928bb75a8b677e101785e50b8c4cf0d39a62aa (patch)
treeb68eb470eb2ca46cde300041d35926d59abda285 /OpenAL32/Include/alMidi.h
parent4659669a740a2501b93aa54ae925eeb91ac5e80d (diff)
Add volume envelope properties
Diffstat (limited to 'OpenAL32/Include/alMidi.h')
-rw-r--r--OpenAL32/Include/alMidi.h11
1 files changed, 11 insertions, 0 deletions
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;