diff options
author | Chris Robinson <[email protected]> | 2011-10-04 09:47:08 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-10-04 09:47:08 -0700 |
commit | 20fd648729579a37e138fe2c018d075fa4e23a53 (patch) | |
tree | 6c64dc8babb1c5d5485222bcc092455fa1d5bf24 /OpenAL32/Include | |
parent | 11caba9807550a01ec5b81f50a6c744b3506115d (diff) |
Convert samples to float when copying to the stack
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alu.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h index a5e71ad3..b3288471 100644 --- a/OpenAL32/Include/alu.h +++ b/OpenAL32/Include/alu.h @@ -140,10 +140,10 @@ enum DistanceModel { #define FRACTIONONE (1<<FRACTIONBITS) #define FRACTIONMASK (FRACTIONONE-1) -/* Size for temporary stack storage of buffer data. Larger values need more - * stack, 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. +/* Size for temporary stack storage of buffer data. Must be a multiple of the + * size of ALfloat, ie, 4. Larger values need more stack, 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. * The mixer requires being able to do two samplings per mixing loop. A 16KB * buffer can hold 512 sample frames for a 7.1 float buffer. With the cubic * resampler (which requires 3 padding sample frames), this limits the maximum |