mirror of https://github.com/godotengine/godot
[AudioFilterSW] Fix audio cutting out due to numerical errors
This commit is contained in:
parent
a013481b09
commit
a35c3515c9
|
|
@ -36,11 +36,11 @@
|
||||||
class AudioFilterSW {
|
class AudioFilterSW {
|
||||||
public:
|
public:
|
||||||
struct Coeffs {
|
struct Coeffs {
|
||||||
float a1 = 0.0f;
|
double a1 = 0.0;
|
||||||
float a2 = 0.0f;
|
double a2 = 0.0;
|
||||||
float b0 = 0.0f;
|
double b0 = 0.0;
|
||||||
float b1 = 0.0f;
|
double b1 = 0.0;
|
||||||
float b2 = 0.0f;
|
double b2 = 0.0;
|
||||||
};
|
};
|
||||||
|
|
||||||
enum Mode {
|
enum Mode {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue