summaryrefslogtreecommitdiff
path: root/src/JSystem/JAudio/JASDSPChannel.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2026-10-27 00:29:52 -0400
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2026-10-27 00:29:52 -0400
commit81ebe0dfd449166e00de31ce9be2d7449e31536c (patch)
tree0f7b648f69950c3d5edd916041ac52697c94ca4d /src/JSystem/JAudio/JASDSPChannel.cpp
parent02de6b772d06b2ed15bbe7b25d01901fdca84966 (diff)
Work on JAS inlines, fix limits/climits headers
Diffstat (limited to 'src/JSystem/JAudio/JASDSPChannel.cpp')
-rw-r--r--src/JSystem/JAudio/JASDSPChannel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/JSystem/JAudio/JASDSPChannel.cpp b/src/JSystem/JAudio/JASDSPChannel.cpp
index 9a3981e0..d45cb6e5 100644
--- a/src/JSystem/JAudio/JASDSPChannel.cpp
+++ b/src/JSystem/JAudio/JASDSPChannel.cpp
@@ -254,7 +254,7 @@ void JASystem::TDSPChannel::updateAll() {
u32 var2;
OSTick var3 = time - old_time;
old_time = time;
- var2 = Kernel::getSubFrames() - TAudioThread::snIntCount;
+ var2 = Kernel::getSubFrames() - TAudioThread::getDSPSyncCount();
history[var2] = var3;
if (var2) {
if (f32(history[0]) / var3 < DSP_LIMIT_RATIO) {