Skip to content

Commit

Permalink
Merge pull request godotengine#102210 from Geometror/audioeffect-fix-…
Browse files Browse the repository at this point in the history
…cutout

[AudioFilterSW] Fix audio cutting out due to numerical errors
  • Loading branch information
Repiteo committed Feb 11, 2025
2 parents 845ddb4 + a35c351 commit 5da6dea
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions servers/audio/audio_filter_sw.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@
class AudioFilterSW {
public:
struct Coeffs {
float a1 = 0.0f;
float a2 = 0.0f;
float b0 = 0.0f;
float b1 = 0.0f;
float b2 = 0.0f;
double a1 = 0.0;
double a2 = 0.0;
double b0 = 0.0;
double b1 = 0.0;
double b2 = 0.0;
};

enum Mode {
Expand Down

0 comments on commit 5da6dea

Please sign in to comment.