aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-05-22 06:19:59 -0700
committerChris Robinson <[email protected]>2018-05-22 06:19:59 -0700
commit8219bb374df7412edb6359ddeb5f45fffafb47a2 (patch)
tree76e9d51b4111704b0c0fa32a90665ae0c5c29efd /OpenAL32
parent80df89d0db7805a5661a72b07dd3961b4f5aa836 (diff)
Fix a couple property variable names
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/Include/alEffect.h6
-rw-r--r--OpenAL32/alEffect.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/OpenAL32/Include/alEffect.h b/OpenAL32/Include/alEffect.h
index 206c495b..4d28a708 100644
--- a/OpenAL32/Include/alEffect.h
+++ b/OpenAL32/Include/alEffect.h
@@ -147,10 +147,10 @@ typedef union ALeffectProps {
ALfloat HighGain;
} Equalizer;
- struct {
+ struct {
ALfloat Frequency;
- ALint Left_direction;
- ALint Right_direction;
+ ALint LeftDirection;
+ ALint RightDirection;
} Fshifter;
struct {
diff --git a/OpenAL32/alEffect.c b/OpenAL32/alEffect.c
index a69bf70c..aacddd4c 100644
--- a/OpenAL32/alEffect.c
+++ b/OpenAL32/alEffect.c
@@ -586,9 +586,9 @@ static void InitEffectParams(ALeffect *effect, ALenum type)
effect->vtab = &ALflanger_vtable;
break;
case AL_EFFECT_FREQUENCY_SHIFTER:
- effect->Props.Fshifter.Frequency = AL_FREQUENCY_SHIFTER_DEFAULT_FREQUENCY;
- effect->Props.Fshifter.Left_direction = AL_FREQUENCY_SHIFTER_DEFAULT_LEFT_DIRECTION;
- effect->Props.Fshifter.Right_direction = AL_FREQUENCY_SHIFTER_DEFAULT_RIGHT_DIRECTION;
+ effect->Props.Fshifter.Frequency = AL_FREQUENCY_SHIFTER_DEFAULT_FREQUENCY;
+ effect->Props.Fshifter.LeftDirection = AL_FREQUENCY_SHIFTER_DEFAULT_LEFT_DIRECTION;
+ effect->Props.Fshifter.RightDirection = AL_FREQUENCY_SHIFTER_DEFAULT_RIGHT_DIRECTION;
effect->vtab = &ALfshifter_vtable;
break;
case AL_EFFECT_RING_MODULATOR: