🛠️🐜 Antkeeper superbuild with dependencies included https://antkeeper.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
456 B

  1. #ifndef CORE_BUFFERLINE_H
  2. #define CORE_BUFFERLINE_H
  3. #include <array>
  4. #include "alspan.h"
  5. /* Size for temporary storage of buffer data, in floats. Larger values need
  6. * more memory and are harder on cache, while smaller values may need more
  7. * iterations for mixing.
  8. */
  9. constexpr int BufferLineSize{1024};
  10. using FloatBufferLine = std::array<float,BufferLineSize>;
  11. using FloatBufferSpan = al::span<float,BufferLineSize>;
  12. #endif /* CORE_BUFFERLINE_H */