diff options
author | Chris Robinson <[email protected]> | 2010-04-08 12:14:18 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2010-04-08 12:14:18 -0700 |
commit | 5db1aec1d1c909c71c657f0826bce0eac5cdf229 (patch) | |
tree | 3cfef51f1aa2e97f768d1722cabe7a839edba58a | |
parent | 05ca5c88efd2ae0619580e0a061d9f1ad0176cd6 (diff) |
Make some functions static
-rw-r--r-- | Alc/alcEcho.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Alc/alcEcho.c b/Alc/alcEcho.c index 69bbd386..d9700527 100644 --- a/Alc/alcEcho.c +++ b/Alc/alcEcho.c @@ -53,7 +53,7 @@ typedef struct ALechoState { ALfloat history[2]; } ALechoState; -ALvoid EchoDestroy(ALeffectState *effect) +static ALvoid EchoDestroy(ALeffectState *effect) { ALechoState *state = (ALechoState*)effect; if(state) @@ -64,7 +64,7 @@ ALvoid EchoDestroy(ALeffectState *effect) } } -ALboolean EchoDeviceUpdate(ALeffectState *effect, ALCdevice *Device) +static ALboolean EchoDeviceUpdate(ALeffectState *effect, ALCdevice *Device) { ALechoState *state = (ALechoState*)effect; ALuint maxlen, i; @@ -91,7 +91,7 @@ ALboolean EchoDeviceUpdate(ALeffectState *effect, ALCdevice *Device) return AL_TRUE; } -ALvoid EchoUpdate(ALeffectState *effect, ALCcontext *Context, const ALeffect *Effect) +static ALvoid EchoUpdate(ALeffectState *effect, ALCcontext *Context, const ALeffect *Effect) { ALechoState *state = (ALechoState*)effect; ALuint frequency = Context->Device->Frequency; @@ -115,7 +115,7 @@ ALvoid EchoUpdate(ALeffectState *effect, ALCcontext *Context, const ALeffect *Ef state->iirFilter.coeff = a; } -ALvoid EchoProcess(ALeffectState *effect, const ALeffectslot *Slot, ALuint SamplesToDo, const ALfloat *SamplesIn, ALfloat (*SamplesOut)[OUTPUTCHANNELS]) +static ALvoid EchoProcess(ALeffectState *effect, const ALeffectslot *Slot, ALuint SamplesToDo, const ALfloat *SamplesIn, ALfloat (*SamplesOut)[OUTPUTCHANNELS]) { ALechoState *state = (ALechoState*)effect; const ALuint mask = state->BufferLength-1; |