mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Merge pull request #102210 from Geometror/audioeffect-fix-cutout
[AudioFilterSW] Fix audio cutting out due to numerical errors
This commit is contained in:
commit
5da6deaaca
1 changed files with 5 additions and 5 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue