]> git.tdb.fi Git - ext/openal.git/blob - core/bufferline.h
Import OpenAL Soft 1.23.1 sources
[ext/openal.git] / core / bufferline.h
1 #ifndef CORE_BUFFERLINE_H
2 #define CORE_BUFFERLINE_H
3
4 #include <array>
5
6 #include "alspan.h"
7
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.
11  */
12 constexpr int BufferLineSize{1024};
13
14 using FloatBufferLine = std::array<float,BufferLineSize>;
15 using FloatBufferSpan = al::span<float,BufferLineSize>;
16
17 #endif /* CORE_BUFFERLINE_H */