summaryrefslogtreecommitdiffstats
path: root/audio/caps/glibc-2.27.patch
blob: 1ae3258c932488a06a80bf9febc224f72db50de9 (plain)
--- caps-0.9.24.orig/dsp/v4f_IIR2.h
+++ caps-0.9.24/dsp/v4f_IIR2.h
@@ -33,7 +33,7 @@
 namespace DSP {
 
 #ifdef __APPLE__
-inline float pow10f(float f) {return pow(10,f);}
+inline float exp10f(float f) {return pow(10,f);}
 #endif
 
 class RBJv4
@@ -142,7 +142,7 @@ class IIR2v4
 				/* A = pow (10, gain / 40) */
 				v4f_t A = (v4f_t) {.025,.025,.025,.025};
 				A *= gain;
-				A = v4f_map<pow10f> (A);
+				A = v4f_map<exp10f> (A);
 
 				RBJv4 p (f, Q);
 
@@ -429,7 +429,7 @@ class IIR2v4Bank
 					/* A = pow (10, gain / 40) */
 					v4f_t A = (v4f_t) {.025,.025,.025,.025};
 					A *= gain[i];
-					A = v4f_map<pow10f> (A);
+					A = v4f_map<exp10f> (A);
 
 					RBJv4 p (f[i], Q[i]);