mirror of
https://github.com/AxioDL/amuse.git
synced 2025-12-10 05:58:00 +00:00
General: Amend clamp parameter order
Batch replace on switching to standardized variants assumed common ordering, which evidently wasn't the case
This commit is contained in:
@@ -143,9 +143,9 @@ static const float rsmpTab12khz[] =
|
||||
/* clang-format on */
|
||||
|
||||
EffectChorus::EffectChorus(uint32_t baseDelay, uint32_t variation, uint32_t period)
|
||||
: x90_baseDelay(std::clamp(5u, baseDelay, 15u))
|
||||
, x94_variation(std::clamp(0u, variation, 5u))
|
||||
, x98_period(std::clamp(500u, period, 10000u)) {}
|
||||
: x90_baseDelay(std::clamp(baseDelay, 5u, 15u))
|
||||
, x94_variation(std::clamp(variation, 0u, 5u))
|
||||
, x98_period(std::clamp(period, 500u, 10000u)) {}
|
||||
|
||||
template <typename T>
|
||||
EffectChorusImp<T>::EffectChorusImp(uint32_t baseDelay, uint32_t variation, uint32_t period, double sampleRate)
|
||||
|
||||
Reference in New Issue
Block a user