aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alFontsound.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-12-29 04:36:01 -0800
committerChris Robinson <[email protected]>2013-12-29 04:36:01 -0800
commit4c35f7c63243c7ffa251047074d44e6073edb435 (patch)
treea2e58b8cc67a3df124b66437afd7fb6c27414fe1 /OpenAL32/alFontsound.c
parent15aa12847d7d2797d5ef37ae428d5ab9afe0753a (diff)
Add chorus and reverb send properties
Diffstat (limited to 'OpenAL32/alFontsound.c')
-rw-r--r--OpenAL32/alFontsound.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/OpenAL32/alFontsound.c b/OpenAL32/alFontsound.c
index c5b04970..78722426 100644
--- a/OpenAL32/alFontsound.c
+++ b/OpenAL32/alFontsound.c
@@ -160,6 +160,18 @@ AL_API void AL_APIENTRY alFontsoundiSOFT(ALuint id, ALenum param, ALint value)
sound->ModEnvToFilterCutoff = value;
break;
+ case AL_CHORUS_SEND_SOFT:
+ if(!(value >= 0 && value <= 1000))
+ SET_ERROR_AND_GOTO(context, AL_INVALID_VALUE, done);
+ sound->ChorusSend = value;
+ break;
+
+ case AL_REVERB_SEND_SOFT:
+ if(!(value >= 0 && value <= 1000))
+ SET_ERROR_AND_GOTO(context, AL_INVALID_VALUE, done);
+ sound->ReverbSend = value;
+ break;
+
case AL_PAN_SOFT:
sound->Pan = value;
break;
@@ -358,6 +370,8 @@ AL_API void AL_APIENTRY alFontsoundivSOFT(ALuint id, ALenum param, const ALint *
case AL_FILTER_RESONANCE_SOFT:
case AL_MOD_LFO_TO_FILTER_CUTOFF_SOFT:
case AL_MOD_ENV_TO_FILTER_CUTOFF_SOFT:
+ case AL_CHORUS_SEND_SOFT:
+ case AL_REVERB_SEND_SOFT:
case AL_PAN_SOFT:
case AL_MOD_ENV_DELAYTIME_SOFT:
case AL_MOD_ENV_ATTACKTIME_SOFT:
@@ -453,6 +467,14 @@ AL_API void AL_APIENTRY alGetFontsoundivSOFT(ALuint id, ALenum param, ALint *val
values[0] = sound->ModEnvToFilterCutoff;
break;
+ case AL_CHORUS_SEND_SOFT:
+ values[0] = sound->ChorusSend;
+ break;
+
+ case AL_REVERB_SEND_SOFT:
+ values[0] = sound->ReverbSend;
+ break;
+
case AL_PAN_SOFT:
values[0] = sound->Pan;
break;