diff options
author | Chris Robinson <[email protected]> | 2018-02-28 19:37:12 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-02-28 19:37:12 -0800 |
commit | a211c2f5e4d14678a77ab11d5d1879b2f442fe4c (patch) | |
tree | ab680f0bc375341c8e295fb1e60e66a8417f9b15 /Alc/effects/equalizer.c | |
parent | d25398d2c7efb02a9b8e630b15be3a7ab2578aa8 (diff) |
Avoid AL prefix on internal effect state factory types
Also avoid using the generic V/V0 macros for them
Diffstat (limited to 'Alc/effects/equalizer.c')
-rw-r--r-- | Alc/effects/equalizer.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Alc/effects/equalizer.c b/Alc/effects/equalizer.c index 8c2b31e2..22db5d54 100644 --- a/Alc/effects/equalizer.c +++ b/Alc/effects/equalizer.c @@ -196,11 +196,11 @@ static ALvoid ALequalizerState_process(ALequalizerState *state, ALsizei SamplesT } -typedef struct ALequalizerStateFactory { - DERIVE_FROM_TYPE(ALeffectStateFactory); -} ALequalizerStateFactory; +typedef struct EqualizerStateFactory { + DERIVE_FROM_TYPE(EffectStateFactory); +} EqualizerStateFactory; -ALeffectState *ALequalizerStateFactory_create(ALequalizerStateFactory *UNUSED(factory)) +ALeffectState *EqualizerStateFactory_create(EqualizerStateFactory *UNUSED(factory)) { ALequalizerState *state; @@ -210,13 +210,13 @@ ALeffectState *ALequalizerStateFactory_create(ALequalizerStateFactory *UNUSED(fa return STATIC_CAST(ALeffectState, state); } -DEFINE_ALEFFECTSTATEFACTORY_VTABLE(ALequalizerStateFactory); +DEFINE_EFFECTSTATEFACTORY_VTABLE(EqualizerStateFactory); -ALeffectStateFactory *ALequalizerStateFactory_getFactory(void) +EffectStateFactory *EqualizerStateFactory_getFactory(void) { - static ALequalizerStateFactory EqualizerFactory = { { GET_VTABLE2(ALequalizerStateFactory, ALeffectStateFactory) } }; + static EqualizerStateFactory EqualizerFactory = { { GET_VTABLE2(EqualizerStateFactory, EffectStateFactory) } }; - return STATIC_CAST(ALeffectStateFactory, &EqualizerFactory); + return STATIC_CAST(EffectStateFactory, &EqualizerFactory); } |