aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alcEcho.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/alcEcho.c
parenta5d94f5d09be24bf34cbf8433a288cfd9ca396fb (diff)
Rename the effect state's Destroy method to Destruct
Diffstat (limited to 'Alc/alcEcho.c')
-rw-r--r--Alc/alcEcho.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/alcEcho.c b/Alc/alcEcho.c
index e38e1457..4270c863 100644
--- a/Alc/alcEcho.c
+++ b/Alc/alcEcho.c
@@ -57,7 +57,7 @@ typedef struct ALechoState {
FILTER iirFilter;
} ALechoState;
-static ALvoid ALechoState_Destroy(ALechoState *state)
+static ALvoid ALechoState_Destruct(ALechoState *state)
{
free(state->SampleBuffer);
state->SampleBuffer = NULL;
@@ -208,7 +208,7 @@ ALeffectState *ALechoStateFactory_create(void)
static ALvoid ALechoStateFactory_destroy(ALeffectState *effect)
{
ALechoState *state = STATIC_UPCAST(ALechoState, ALeffectState, effect);
- ALechoState_Destroy(state);
+ ALechoState_Destruct(state);
free(state);
}