From c1159143ea9bcecb1ad9183e77805cf5c935fa0a Mon Sep 17 00:00:00 2001 From: Ross Owen Date: Thu, 9 Mar 2023 14:56:54 +0000 Subject: [PATCH] Fastmix.S now uses defines from xua.h --- lib_xua/src/core/mixer/fastmix.S | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/lib_xua/src/core/mixer/fastmix.S b/lib_xua/src/core/mixer/fastmix.S index 8a8e008f..6a04a84e 100644 --- a/lib_xua/src/core/mixer/fastmix.S +++ b/lib_xua/src/core/mixer/fastmix.S @@ -1,8 +1,15 @@ // Copyright 2018-2023 XMOS LIMITED. // This Software is subject to the terms of the XMOS Public Licence: Version 1. -#define MAX_MIX_COUNT 8 -#define MIX_INPUTS 18 +#include "xua.h" + +#ifndef MAX_MIX_COUNT +#error +#endif + +#ifndef MIX_INPUTS +#error +#endif #define DOMIX_TOP(i) \ .cc_top doMix##i.function,doMix##i; \