aboutsummaryrefslogtreecommitdiffstats
path: root/alc/bufferline.h
blob: 79f0996ccdb4ff83c5900d077fc4fe196a1e29a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef ALC_BUFFERLINE_H
#define ALC_BUFFERLINE_H

#include <array>

/* Size for temporary storage of buffer data, in floats. Larger values need
 * more memory, while smaller values may need more iterations. The value needs
 * to be a sensible size, however, as it constrains the max stepping value used
 * for mixing, as well as the maximum number of samples per mixing iteration.
 */
#define BUFFERSIZE 1024

using FloatBufferLine = std::array<float,BUFFERSIZE>;

#endif /* ALC_BUFFERLINE_H */