Line 0
Link Here
|
|
|
1 |
--- dsp/v4f_IIR2.h.orig |
2 |
+++ dsp/v4f_IIR2.h |
3 |
@@ -45,8 +45,8 @@ |
4 |
{ |
5 |
v4f_t w = v4f_2pi * f; |
6 |
|
7 |
- sin = v4f_map<__builtin_sinf> (w); |
8 |
- cos = v4f_map<__builtin_cosf> (w); |
9 |
+ sin = v4f_map<sinf> (w); |
10 |
+ cos = v4f_map<cosf> (w); |
11 |
|
12 |
alpha = sin / (v4f_2 * Q); |
13 |
} |
14 |
@@ -549,9 +549,9 @@ |
15 |
{ |
16 |
v4f_t * a = state + i*Item; |
17 |
f *= v4f_2pi; |
18 |
- a[0] = v4f_map<__builtin_sinf> (f); |
19 |
+ a[0] = v4f_map<sinf> (f); |
20 |
a[0] *= gain; |
21 |
- a[5] = v4f_map<__builtin_cosf> (f); |
22 |
+ a[5] = v4f_map<cosf> (f); |
23 |
set_r (i, r); |
24 |
} |
25 |
void set_r (int i, v4f_t r) |