mirror of
https://github.com/love2d/megasource.git
synced 2026-08-12 08:30:59 +02:00
18 lines
466 B
C++
18 lines
466 B
C++
#ifndef CORE_BUFFERLINE_H
|
|
#define CORE_BUFFERLINE_H
|
|
|
|
#include <array>
|
|
|
|
#include "alspan.h"
|
|
|
|
/* 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.
|
|
*/
|
|
inline constexpr size_t BufferLineSize{1024};
|
|
|
|
using FloatBufferLine = std::array<float,BufferLineSize>;
|
|
using FloatBufferSpan = al::span<float,BufferLineSize>;
|
|
|
|
#endif /* CORE_BUFFERLINE_H */
|