@@ -78,7 +78,7 @@ void processFloat() {
78
78
FIR<float > firf (coeff);
79
79
unsigned long start = millis ();
80
80
for (int j = 0 ; j < 44100 ; j++) {
81
- int16_t result = firf.process (32767 );
81
+ auto result = firf.process (32767 );
82
82
if (j < max_array) {
83
83
result_array[j] = result;
84
84
}
@@ -92,7 +92,7 @@ void processDouble() {
92
92
FIR<double > fird (coefd);
93
93
unsigned long start = millis ();
94
94
for (int j = 0 ; j < 44100 ; j++) {
95
- int16_t result = fird.process (32767 );
95
+ auto result = fird.process (32767 );
96
96
if (j < max_array) {
97
97
result_array[j] = result;
98
98
}
@@ -106,7 +106,7 @@ void processInt16() {
106
106
FIR<int16_t > fir16 (coef16, 32767 );
107
107
unsigned long start = millis ();
108
108
for (int j = 0 ; j < 44100 ; j++) {
109
- int16_t result = fir16.process (32767 );
109
+ auto result = fir16.process (32767 );
110
110
if (j < max_array) {
111
111
result_array[j] = result;
112
112
}
@@ -120,7 +120,7 @@ void processInt32() {
120
120
FIR<int32_t > fir32 (coef32, 32767 );
121
121
unsigned long start = millis ();
122
122
for (int j = 0 ; j < 44100 ; j++) {
123
- int16_t result = fir32.process (32767 );
123
+ auto result = fir32.process (32767 );
124
124
if (j < max_array) {
125
125
result_array[j] = result;
126
126
}
@@ -134,7 +134,7 @@ void processInt64() {
134
134
FIR<int64_t > fir64 (coef64, 32767 );
135
135
unsigned long start = millis ();
136
136
for (int j = 0 ; j < 44100 ; j++) {
137
- int16_t result = fir64.process (32767 );
137
+ auto result = fir64.process (32767 );
138
138
if (j < max_array) {
139
139
result_array[j] = result;
140
140
}
@@ -154,8 +154,8 @@ void setup() {
154
154
listResult ();
155
155
processDouble ();
156
156
listResult ();
157
- processInt16 ();
158
- listResult ();
157
+ // processInt16();
158
+ // listResult();
159
159
processInt32 ();
160
160
listResult ();
161
161
processInt64 ();
0 commit comments