aboutsummaryrefslogtreecommitdiffstats
path: root/alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-12-25 18:32:53 -0800
committerChris Robinson <[email protected]>2019-12-25 18:32:53 -0800
commit36c745a5149fe196b2ea8c058d2d3391db3dde8b (patch)
treeae4a771ed24174d402a24c9a8c1ffae0a7c6595e /alc
parent0897927419a8b59e9481c20495831c773c1bbf92 (diff)
Fix parameter order
Diffstat (limited to 'alc')
-rw-r--r--alc/filters/biquad.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/filters/biquad.h b/alc/filters/biquad.h
index 402c76b2..a8bc86e7 100644
--- a/alc/filters/biquad.h
+++ b/alc/filters/biquad.h
@@ -86,7 +86,7 @@ public:
void setParamsFromSlope(BiquadType type, Real f0norm, Real gain, Real slope)
{
gain = std::max<Real>(gain, 0.001f); /* Limit -60dB */
- setParams(type, gain, f0norm, rcpQFromSlope(gain, slope));
+ setParams(type, f0norm, gain, rcpQFromSlope(gain, slope));
}
/**
@@ -102,7 +102,7 @@ public:
* \param bandwidth Normalized bandwidth of the transition band.
*/
void setParamsFromBandwidth(BiquadType type, Real f0norm, Real gain, Real bandwidth)
- { setParams(type, gain, f0norm, rcpQFromBandwidth(f0norm, bandwidth)); }
+ { setParams(type, f0norm, gain, rcpQFromBandwidth(f0norm, bandwidth)); }
void copyParamsFrom(const BiquadFilterR &other)
{