Account for transposer prefill in source coordinates

This commit is contained in:
evgeny committed 2026-10-14 19:19:50 +02:00
1 parent 811b980883
commit 4939ee7fb0
2 files changed
+8 -2

No files matched your search

@@ -136,7 +136,8 @@ public:
AAFilter *getAAFilter();
/// Enables/disables the anti-alias filter. Zero to disable, nonzero to enable
int unitySourceOffset() const { return bUseAAFilter ? -1 : pTransposer->unitySourceOffset(); }
// clear() добавляет getLatency() нулей: они компенсируют смещение интерполятора.
int unitySourceOffset() const { return bUseAAFilter ? -1 : pTransposer->unitySourceOffset() - getLatency(); }
void enableAAFilter(bool newMode);