summaryrefslogtreecommitdiffstats
path: root/Alc/alcFlanger.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-05-21 13:02:56 -0700
committerChris Robinson <[email protected]>2013-05-21 13:02:56 -0700
commiteaccaa50284da45401d841a867a7a10daa00dbd0 (patch)
tree0f6a62e6e13adf982a00175354a288d5e02b9e58 /Alc/alcFlanger.c
parenta5d94f5d09be24bf34cbf8433a288cfd9ca396fb (diff)
Rename the effect state's Destroy method to Destruct
Diffstat (limited to 'Alc/alcFlanger.c')
-rw-r--r--Alc/alcFlanger.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/alcFlanger.c b/Alc/alcFlanger.c
index 953828f6..b3f09018 100644
--- a/Alc/alcFlanger.c
+++ b/Alc/alcFlanger.c
@@ -57,7 +57,7 @@ typedef struct ALflangerState {
ALfloat feedback;
} ALflangerState;
-static ALvoid ALflangerState_Destroy(ALflangerState *state)
+static ALvoid ALflangerState_Destruct(ALflangerState *state)
{
free(state->SampleBufferLeft);
state->SampleBufferLeft = NULL;
@@ -270,7 +270,7 @@ ALeffectState *ALflangerStateFactory_create(void)
static ALvoid ALflangerStateFactory_destroy(ALeffectState *effect)
{
ALflangerState *state = STATIC_UPCAST(ALflangerState, ALeffectState, effect);
- ALflangerState_Destroy(state);
+ ALflangerState_Destruct(state);
free(state);
}