diff options
author | Chris Robinson <[email protected]> | 2022-04-06 17:41:24 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-04-06 17:41:24 -0700 |
commit | 6a9fe1e2c1c06b6bc04c3b78e2a9f69dd7a5ec6e (patch) | |
tree | a6ffd2560ab4e6b632b2db5f8e6db6de7823d7dd /alc/effects/vmorpher.cpp | |
parent | 707f4cca27e096c167e79619642fbe2e872ee4c8 (diff) |
Rename lerp to avoid conflicts with C++20's std::lerp
Diffstat (limited to 'alc/effects/vmorpher.cpp')
-rw-r--r-- | alc/effects/vmorpher.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/effects/vmorpher.cpp b/alc/effects/vmorpher.cpp index 48cbb15e..edc50eb1 100644 --- a/alc/effects/vmorpher.cpp +++ b/alc/effects/vmorpher.cpp @@ -310,7 +310,7 @@ void VmorpherState::process(const size_t samplesToDo, const al::span<const Float alignas(16) float blended[MAX_UPDATE_SAMPLES]; for(size_t i{0u};i < td;i++) - blended[i] = lerp(mSampleBufferA[i], mSampleBufferB[i], mLfo[i]); + blended[i] = lerpf(mSampleBufferA[i], mSampleBufferB[i], mLfo[i]); /* Now, mix the processed sound data to the output. */ MixSamples({blended, td}, samplesOut, chandata->CurrentGains, chandata->TargetGains, |