aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/chorus.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-05-28 22:27:07 -0700
committerChris Robinson <[email protected]>2013-05-28 22:27:07 -0700
commite96cc656e9c9176ba60cd191896fd6386a7fd74d (patch)
treeb6deb2a859ca08a519f9ff2c1c3d9022eb698462 /Alc/effects/chorus.c
parent48aa1e10d64d7c62cab856a0c5d7f9e140efbd6b (diff)
Use C99's inline instead of __inline
Diffstat (limited to 'Alc/effects/chorus.c')
-rw-r--r--Alc/effects/chorus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/effects/chorus.c b/Alc/effects/chorus.c
index 34caf62d..2c3aa742 100644
--- a/Alc/effects/chorus.c
+++ b/Alc/effects/chorus.c
@@ -147,7 +147,7 @@ static ALvoid ALchorusState_Update(ALchorusState *state, ALCdevice *Device, cons
state->lfo_disp = fastf2i(frequency / rate / (360.0f/phase));
}
-static __inline void Triangle(ALint *delay_left, ALint *delay_right, ALint offset, const ALchorusState *state)
+static inline void Triangle(ALint *delay_left, ALint *delay_right, ALint offset, const ALchorusState *state)
{
ALfloat lfo_value;
@@ -162,7 +162,7 @@ static __inline void Triangle(ALint *delay_left, ALint *delay_right, ALint offse
*delay_right = fastf2i(lfo_value) + state->delay;
}
-static __inline void Sinusoid(ALint *delay_left, ALint *delay_right, ALint offset, const ALchorusState *state)
+static inline void Sinusoid(ALint *delay_left, ALint *delay_right, ALint offset, const ALchorusState *state)
{
ALfloat lfo_value;