Skip to content

Commit

Permalink
[AudioFilterSW] Fix audio cutting out due to numerical errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Geometror committed Jan 30, 2025
1 parent a013481 commit e6d7fa7
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.0f;
double a2 = 0.0f;
double b0 = 0.0f;
double b1 = 0.0f;
double b2 = 0.0f;
};

enum Mode {
Expand Down

0 comments on commit e6d7fa7

Please sign in to comment.