diff options
author | Chris Robinson <[email protected]> | 2020-03-28 15:03:38 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-03-28 18:15:05 -0700 |
commit | 504745abec35c4718833cd7c7ed8db3b242e0aa2 (patch) | |
tree | 4704dc2c020f6bdfacfa98143afe83933b053916 /alc/effects/null.cpp | |
parent | e78cb9b77f380af164b972388c8a3d110080cdac (diff) |
Use a standard bool instead of ALboolean
Diffstat (limited to 'alc/effects/null.cpp')
-rw-r--r-- | alc/effects/null.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/alc/effects/null.cpp b/alc/effects/null.cpp index e0497296..306b9365 100644 --- a/alc/effects/null.cpp +++ b/alc/effects/null.cpp @@ -18,7 +18,7 @@ struct NullState final : public EffectState { NullState(); ~NullState() override; - 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; @@ -40,9 +40,9 @@ NullState::~NullState() = default; * format) have been changed. Will always be followed by a call to the update * method, if successful. */ -ALboolean NullState::deviceUpdate(const ALCdevice* /*device*/) +bool NullState::deviceUpdate(const ALCdevice* /*device*/) { - return AL_TRUE; + return true; } /* This updates the effect state with new properties. This is called any time |