diff options
author | Chris Robinson <[email protected]> | 2020-11-27 19:18:17 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-11-27 19:18:17 -0800 |
commit | b0919240ab73f2e340f26a913baf7524b35a4c85 (patch) | |
tree | 8a5bf22bf62fe9582af3d930c54f531c16e6b6f1 /core/bufferline.h | |
parent | d86046d522f45804e28462db0c0e8e1a34a1cfe7 (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.h | 14 |
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 */ |