Skip to content

Commit 5da6dea

Browse files
committed
Merge pull request godotengine#102210 from Geometror/audioeffect-fix-cutout
[AudioFilterSW] Fix audio cutting out due to numerical errors
2 parents 845ddb4 + a35c351 commit 5da6dea

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)