commit 7a5da5b7f14bd5650d4d985ed518a0745a0c2da0
parent d2911083cbae5914ddb6bd2f56963d84992e1c9b
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date: Thu, 25 Jul 2024 01:01:52 +0200
reduce sync accuracy as we're running at a higher samplerate
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/source/nord/n2x/n2xLib/n2xhardware.cpp b/source/nord/n2x/n2xLib/n2xhardware.cpp
@@ -2,8 +2,8 @@
namespace n2x
{
- constexpr uint32_t g_syncEsaiFrameRate = 8;
- constexpr uint32_t g_syncHaltDspEsaiThreshold = 16;
+ constexpr uint32_t g_syncEsaiFrameRate = 16;
+ constexpr uint32_t g_syncHaltDspEsaiThreshold = 32;
static_assert((g_syncEsaiFrameRate & (g_syncEsaiFrameRate - 1)) == 0, "esai frame sync rate must be power of two");
static_assert(g_syncHaltDspEsaiThreshold >= g_syncEsaiFrameRate * 2, "esai DSP halt threshold must be greater than two times the sync rate");