aboutsummaryrefslogtreecommitdiffstats
path: root/core/bufferline.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-11-27 19:18:17 -0800
committerChris Robinson <[email protected]>2020-11-27 19:18:17 -0800
commitb0919240ab73f2e340f26a913baf7524b35a4c85 (patch)
tree8a5bf22bf62fe9582af3d930c54f531c16e6b6f1 /core/bufferline.h
parentd86046d522f45804e28462db0c0e8e1a34a1cfe7 (diff)
Move some sources to a separate directory
To begin separating the ALC interfaces from internal ones.
Diffstat (limited to 'core/bufferline.h')
-rw-r--r--core/bufferline.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/core/bufferline.h b/core/bufferline.h
new file mode 100644
index 00000000..07983140
--- /dev/null
+++ b/core/bufferline.h
@@ -0,0 +1,14 @@
+#ifndef CORE_BUFFERLINE_H
+#define CORE_BUFFERLINE_H
+
+#include <array>
+
+/* Size for temporary storage of buffer data, in floats. Larger values need
+ * more memory and are harder on cache, while smaller values may need more
+ * iterations for mixing.
+ */
+#define BUFFERSIZE 1024
+
+using FloatBufferLine = std::array<float,BUFFERSIZE>;
+
+#endif /* CORE_BUFFERLINE_H */