Check that AltiVec is enabled before using it
[openal-soft.git] / core / bufferline.h
blob309fb778f84125d615fc0da3f08398ca6c995122
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 inline constexpr size_t BufferLineSize{1024};
14 using FloatBufferLine = std::array<float,BufferLineSize>;
15 using FloatBufferSpan = al::span<float,BufferLineSize>;
17 #endif /* CORE_BUFFERLINE_H */