diff options
| author | roeming <brother64youyou@gmail.com> | 2025-12-18 16:31:44 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-18 13:31:44 -0800 |
| commit | 93067110f6bf969776a553ddbefe6a734504f7d6 (patch) | |
| tree | 0d2d421527c4cb8516d994ec5978195b55fdc234 /src/JSystem/JAudio2/JASCalc.cpp | |
| parent | 7cae156176b03d79ef05f3fefae5b60844e0fdf7 (diff) | |
Use consistent s32/u32 (#2964)
* cleanup long usage
* fix regression
Diffstat (limited to 'src/JSystem/JAudio2/JASCalc.cpp')
| -rw-r--r-- | src/JSystem/JAudio2/JASCalc.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/JSystem/JAudio2/JASCalc.cpp b/src/JSystem/JAudio2/JASCalc.cpp index a076cef9d1..861b8dcd67 100644 --- a/src/JSystem/JAudio2/JASCalc.cpp +++ b/src/JSystem/JAudio2/JASCalc.cpp @@ -264,11 +264,11 @@ s16 const JASCalc::CUTOFF_TO_IIR_TABLE[128][4] = { }; // currently required because of missing functions -// JASCalc::hannWindow(short *, unsigned long) -// JASCalc::hammWindow(short *, unsigned long) -// JASCalc::fft(float *, float *, unsigned long, long) +// JASCalc::hannWindow(short *, u32) +// JASCalc::hammWindow(short *, u32) +// JASCalc::fft(float *, float *, u32, s32) f32 JASCalc::fake1() { return 0.5f; } -f32 JASCalc::fake2(long x) { return JASCalc::clamp<s16, long>(x); } +f32 JASCalc::fake2(s32 x) { return JASCalc::clamp<s16, s32>(x); } f32 JASCalc::fake3() { return 0.0f; } f32 JASCalc::pow2(f32 x) { |
