axmol/external/openal/core/bufferline.h

18 lines
456 B
C
Raw Normal View History

#ifndef CORE_BUFFERLINE_H
#define CORE_BUFFERLINE_H
#include <array>
2021-05-14 10:15:42 +08:00
#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.
*/
constexpr int BufferLineSize{1024};
using FloatBufferLine = std::array<float,BufferLineSize>;
2021-05-14 10:15:42 +08:00
using FloatBufferSpan = al::span<float,BufferLineSize>;
#endif /* CORE_BUFFERLINE_H */