aboutsummaryrefslogtreecommitdiffstats
path: root/alc/effects/chorus.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-03-28 15:03:38 -0700
committerChris Robinson <[email protected]>2020-03-28 18:15:05 -0700
commit504745abec35c4718833cd7c7ed8db3b242e0aa2 (patch)
tree4704dc2c020f6bdfacfa98143afe83933b053916 /alc/effects/chorus.cpp
parente78cb9b77f380af164b972388c8a3d110080cdac (diff)
Use a standard bool instead of ALboolean
Diffstat (limited to 'alc/effects/chorus.cpp')
-rw-r--r--alc/effects/chorus.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/alc/effects/chorus.cpp b/alc/effects/chorus.cpp
index 59e05be0..a6408fce 100644
--- a/alc/effects/chorus.cpp
+++ b/alc/effects/chorus.cpp
@@ -108,14 +108,14 @@ struct ChorusState final : public EffectState {
ALfloat mFeedback{0.0f};
- ALboolean deviceUpdate(const ALCdevice *device) override;
+ bool deviceUpdate(const ALCdevice *device) override;
void update(const ALCcontext *context, const ALeffectslot *slot, const EffectProps *props, const EffectTarget target) override;
void process(const size_t samplesToDo, const al::span<const FloatBufferLine> samplesIn, const al::span<FloatBufferLine> samplesOut) override;
DEF_NEWDEL(ChorusState)
};
-ALboolean ChorusState::deviceUpdate(const ALCdevice *Device)
+bool ChorusState::deviceUpdate(const ALCdevice *Device)
{
constexpr ALfloat max_delay{maxf(AL_CHORUS_MAX_DELAY, AL_FLANGER_MAX_DELAY)};
@@ -134,7 +134,7 @@ ALboolean ChorusState::deviceUpdate(const ALCdevice *Device)
std::fill(std::begin(e.Target), std::end(e.Target), 0.0f);
}
- return AL_TRUE;
+ return true;
}
void ChorusState::update(const ALCcontext *Context, const ALeffectslot *Slot, const EffectProps *props, const EffectTarget target)