aboutsummaryrefslogtreecommitdiffstats
path: root/alc/effects/null.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-04-08 07:28:07 -0700
committerChris Robinson <[email protected]>2020-04-08 07:28:07 -0700
commit8a5153ce0dee072c283b04ff5a61faa764f81743 (patch)
treef2c1f4f99ea12a998989ee0b7280963cadd4b305 /alc/effects/null.cpp
parent55539787fb5ed6082da22dcc3b3174f79ddbf195 (diff)
Avoid ALfloat and ALint in the effects
Diffstat (limited to 'alc/effects/null.cpp')
-rw-r--r--alc/effects/null.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/alc/effects/null.cpp b/alc/effects/null.cpp
index 306b9365..b9429745 100644
--- a/alc/effects/null.cpp
+++ b/alc/effects/null.cpp
@@ -64,7 +64,7 @@ void NullState::process(const size_t/*samplesToDo*/,
}
-void NullEffect_setParami(EffectProps* /*props*/, ALCcontext *context, ALenum param, ALint /*val*/)
+void NullEffect_setParami(EffectProps* /*props*/, ALCcontext *context, ALenum param, int /*val*/)
{
switch(param)
{
@@ -72,7 +72,7 @@ void NullEffect_setParami(EffectProps* /*props*/, ALCcontext *context, ALenum pa
context->setError(AL_INVALID_ENUM, "Invalid null effect integer property 0x%04x", param);
}
}
-void NullEffect_setParamiv(EffectProps *props, ALCcontext *context, ALenum param, const ALint *vals)
+void NullEffect_setParamiv(EffectProps *props, ALCcontext *context, ALenum param, const int *vals)
{
switch(param)
{
@@ -80,7 +80,7 @@ void NullEffect_setParamiv(EffectProps *props, ALCcontext *context, ALenum param
NullEffect_setParami(props, context, param, vals[0]);
}
}
-void NullEffect_setParamf(EffectProps* /*props*/, ALCcontext *context, ALenum param, ALfloat /*val*/)
+void NullEffect_setParamf(EffectProps* /*props*/, ALCcontext *context, ALenum param, float /*val*/)
{
switch(param)
{
@@ -88,7 +88,7 @@ void NullEffect_setParamf(EffectProps* /*props*/, ALCcontext *context, ALenum pa
context->setError(AL_INVALID_ENUM, "Invalid null effect float property 0x%04x", param);
}
}
-void NullEffect_setParamfv(EffectProps *props, ALCcontext *context, ALenum param, const ALfloat *vals)
+void NullEffect_setParamfv(EffectProps *props, ALCcontext *context, ALenum param, const float *vals)
{
switch(param)
{
@@ -97,7 +97,7 @@ void NullEffect_setParamfv(EffectProps *props, ALCcontext *context, ALenum param
}
}
-void NullEffect_getParami(const EffectProps* /*props*/, ALCcontext *context, ALenum param, ALint* /*val*/)
+void NullEffect_getParami(const EffectProps* /*props*/, ALCcontext *context, ALenum param, int* /*val*/)
{
switch(param)
{
@@ -105,7 +105,7 @@ void NullEffect_getParami(const EffectProps* /*props*/, ALCcontext *context, ALe
context->setError(AL_INVALID_ENUM, "Invalid null effect integer property 0x%04x", param);
}
}
-void NullEffect_getParamiv(const EffectProps *props, ALCcontext *context, ALenum param, ALint *vals)
+void NullEffect_getParamiv(const EffectProps *props, ALCcontext *context, ALenum param, int *vals)
{
switch(param)
{
@@ -113,7 +113,7 @@ void NullEffect_getParamiv(const EffectProps *props, ALCcontext *context, ALenum
NullEffect_getParami(props, context, param, vals);
}
}
-void NullEffect_getParamf(const EffectProps* /*props*/, ALCcontext *context, ALenum param, ALfloat* /*val*/)
+void NullEffect_getParamf(const EffectProps* /*props*/, ALCcontext *context, ALenum param, float* /*val*/)
{
switch(param)
{
@@ -121,7 +121,7 @@ void NullEffect_getParamf(const EffectProps* /*props*/, ALCcontext *context, ALe
context->setError(AL_INVALID_ENUM, "Invalid null effect float property 0x%04x", param);
}
}
-void NullEffect_getParamfv(const EffectProps *props, ALCcontext *context, ALenum param, ALfloat *vals)
+void NullEffect_getParamfv(const EffectProps *props, ALCcontext *context, ALenum param, float *vals)
{
switch(param)
{