aboutsummaryrefslogtreecommitdiffstats
path: root/core/hrtf.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-12-10 12:58:18 -0800
committerChris Robinson <[email protected]>2023-12-10 12:58:18 -0800
commitcf37d92442ccf3c7f4b979bd97282dcbe28ca64a (patch)
tree3b96251062c9c6ea97aea3190e22ea68e1377e18 /core/hrtf.h
parent073d79c2047143e70bb199077fe3c8dbafe0a606 (diff)
Refactor FlexArray
This avoids using an array of 1 as a flexible array member, and instead uses a span to reference the memory after itself.
Diffstat (limited to 'core/hrtf.h')
-rw-r--r--core/hrtf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/hrtf.h b/core/hrtf.h
index 50c4f450..31168be6 100644
--- a/core/hrtf.h
+++ b/core/hrtf.h
@@ -13,8 +13,9 @@
#include "atomic.h"
#include "ambidefs.h"
#include "bufferline.h"
-#include "mixer/hrtfdefs.h"
+#include "flexarray.h"
#include "intrusive_ptr.h"
+#include "mixer/hrtfdefs.h"
struct HrtfStore {