From f1c494e2d35170e03c3f9382bdb1195c15854ae5 Mon Sep 17 00:00:00 2001 From: stephenhensley Date: Wed, 21 Jun 2023 16:48:16 -0700 Subject: [PATCH] added phase inversion for left output to account for rev4 errata. --- BasicExample/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/BasicExample/main.cpp b/BasicExample/main.cpp index cd6a191..ba58f1c 100644 --- a/BasicExample/main.cpp +++ b/BasicExample/main.cpp @@ -36,6 +36,10 @@ void AudioCallback(AudioHandle::InputBuffer in, */ OUT_L[i] = IN_L[i] * volume_left; OUT_R[i] = IN_R[i] * volume_right; + + /** Due to minor errata on the Rev4 hardware we need to phase invert the + * left channel so both outputs have the same phase */ + OUT_L[i] *= -1.f; } }