mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-26 13:49:00 +02:00
biquad_filter: Fix rounding in ApplyBiquadFilterInt
This commit is contained in:
parent
caaad4fd5f
commit
f35302d4bf
2 changed files with 16 additions and 24 deletions
|
|
@ -19,10 +19,10 @@ struct VoiceState {
|
|||
* State of the voice's biquad filter.
|
||||
*/
|
||||
struct BiquadFilterState {
|
||||
Common::FixedPoint<50, 14> s0;
|
||||
Common::FixedPoint<50, 14> s1;
|
||||
Common::FixedPoint<50, 14> s2;
|
||||
Common::FixedPoint<50, 14> s3;
|
||||
s64 s0;
|
||||
s64 s1;
|
||||
s64 s2;
|
||||
s64 s3;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue