Skip to content

Commit a35c351

Browse files
committed
[AudioFilterSW] Fix audio cutting out due to numerical errors
1 parent a013481 commit a35c351

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

servers/audio/audio_filter_sw.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@
3636
class AudioFilterSW {
3737
public:
3838
struct Coeffs {
39-
float a1 = 0.0f;
40-
float a2 = 0.0f;
41-
float b0 = 0.0f;
42-
float b1 = 0.0f;
43-
float b2 = 0.0f;
39+
double a1 = 0.0;
40+
double a2 = 0.0;
41+
double b0 = 0.0;
42+
double b1 = 0.0;
43+
double b2 = 0.0;
4444
};
4545

4646
enum Mode {

0 commit comments

Comments
 (0)