Simplify void_t
[openal-soft.git] / core / bufferline.h
blob8b445f3ff58af8d783c61795c9513cd88dfe7871
1 #ifndef CORE_BUFFERLINE_H
2 #define CORE_BUFFERLINE_H
4 #include <array>
6 #include "alspan.h"
8 /* Size for temporary storage of buffer data, in floats. Larger values need
9 * more memory and are harder on cache, while smaller values may need more
10 * iterations for mixing.
12 constexpr int BufferLineSize{1024};
14 using FloatBufferLine = std::array<float,BufferLineSize>;
15 using FloatBufferSpan = al::span<float,BufferLineSize>;
17 #endif /* CORE_BUFFERLINE_H */