summaryrefslogtreecommitdiffstats
path: root/Alc/midi/sf2load.c
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 /Alc/midi/sf2load.c
parent4659669a740a2501b93aa54ae925eeb91ac5e80d (diff)
Add volume envelope properties
Diffstat (limited to 'Alc/midi/sf2load.c')
-rw-r--r--Alc/midi/sf2load.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/Alc/midi/sf2load.c b/Alc/midi/sf2load.c
index e8b4fb1b..e5fcee43 100644
--- a/Alc/midi/sf2load.c
+++ b/Alc/midi/sf2load.c
@@ -827,14 +827,14 @@ static void fillZone(ALuint id, const GenModList *zone)
0, /* 30 - releaseModEnv */
0, /* 31 - keynumToModEnvHold */
0, /* 32 - keynumToModEnvDecay */
- 0, /* 33 - delayVolEnv */
- 0, /* 34 - attackVolEnv */
- 0, /* 35 - holdVolEnv */
- 0, /* 36 - decayVolEnv */
- 0, /* 37 - sustainVolEnv */
- 0, /* 38 - releaseVolEnv */
- 0, /* 39 - keynumToVolEnvHold */
- 0, /* 40 - keynumToVolEnvDecay */
+ AL_VOLUME_ENV_DELAYTIME_SOFT, /* 33 - delayVolEnv */
+ AL_VOLUME_ENV_ATTACKTIME_SOFT, /* 34 - attackVolEnv */
+ AL_VOLUME_ENV_HOLDTIME_SOFT, /* 35 - holdVolEnv */
+ AL_VOLUME_ENV_DECAYTIME_SOFT, /* 36 - decayVolEnv */
+ AL_VOLUME_ENV_SUSTAINVOLUME_SOFT, /* 37 - sustainVolEnv */
+ AL_VOLUME_ENV_RELEASETIME_SOFT, /* 38 - releaseVolEnv */
+ AL_VOLUME_ENV_KEY_TO_HOLDTIME_SOFT, /* 39 - keynumToVolEnvHold */
+ AL_VOLUME_ENV_KEY_TO_DECAYTIME_SOFT, /* 40 - keynumToVolEnvDecay */
0, /* 41 - */
0, /* 42 - */
AL_KEY_RANGE_SOFT, /* 43 - keyRange */