diff options
-rw-r--r-- | OpenAL32/Include/alEffect.h | 6 | ||||
-rw-r--r-- | OpenAL32/alEffect.c | 7 |
2 files changed, 6 insertions, 7 deletions
diff --git a/OpenAL32/Include/alEffect.h b/OpenAL32/Include/alEffect.h index 30055f1f..4469349c 100644 --- a/OpenAL32/Include/alEffect.h +++ b/OpenAL32/Include/alEffect.h @@ -169,10 +169,10 @@ typedef struct ALeffect { inline ALboolean IsReverbEffect(ALenum type) { return type == AL_EFFECT_REVERB || type == AL_EFFECT_EAXREVERB; } -ALenum InitEffect(ALeffect *effect); -ALvoid ReleaseALEffects(ALCdevice *device); +void InitEffect(ALeffect *effect); +void ReleaseALEffects(ALCdevice *device); -ALvoid LoadReverbPreset(const char *name, ALeffect *effect); +void LoadReverbPreset(const char *name, ALeffect *effect); #ifdef __cplusplus } diff --git a/OpenAL32/alEffect.c b/OpenAL32/alEffect.c index e538433f..39f6f330 100644 --- a/OpenAL32/alEffect.c +++ b/OpenAL32/alEffect.c @@ -366,10 +366,9 @@ AL_API ALvoid AL_APIENTRY alGetEffectfv(ALuint effect, ALenum param, ALfloat *va } -ALenum InitEffect(ALeffect *effect) +void InitEffect(ALeffect *effect) { InitEffectParams(effect, AL_EFFECT_NULL); - return AL_NO_ERROR; } static ALeffect *AllocEffect(ALCcontext *context) @@ -445,7 +444,7 @@ static void FreeEffect(ALCdevice *device, ALeffect *effect) VECTOR_ELEM(device->EffectList, lidx).FreeMask |= U64(1) << slidx; } -ALvoid ReleaseALEffects(ALCdevice *device) +void ReleaseALEffects(ALCdevice *device) { EffectSubList *sublist = VECTOR_BEGIN(device->EffectList); EffectSubList *subend = VECTOR_END(device->EffectList); @@ -740,7 +739,7 @@ static const struct { }; #undef DECL -ALvoid LoadReverbPreset(const char *name, ALeffect *effect) +void LoadReverbPreset(const char *name, ALeffect *effect) { size_t i; |