diff options
author | Chris Robinson <[email protected]> | 2015-10-15 15:13:19 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2015-10-15 15:13:19 -0700 |
commit | 2ff3bf5ab0240c2273cef3ba8a958ec063be691b (patch) | |
tree | 7704fa7c91af3a31445e0f40e967c37c58770c1a /OpenAL32/Include/alu.h | |
parent | 97f53d941c32b24470a0f589853ce60cfbe7f15b (diff) |
Use a constant value for the post-position padding
Diffstat (limited to 'OpenAL32/Include/alu.h')
-rw-r--r-- | OpenAL32/Include/alu.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h index ba7afedb..20eefa93 100644 --- a/OpenAL32/Include/alu.h +++ b/OpenAL32/Include/alu.h @@ -32,8 +32,11 @@ #define MAX_PITCH (255) -/* Maximum number of previous buffer samples needed for resampling. */ -#define MAX_PREVIOUS_SAMPLES 4 +/* Maximum number of buffer samples before the current pos needed for resampling. */ +#define MAX_PRE_SAMPLES 4 + +/* Maximum number of buffer samples after the current pos needed for resampling. */ +#define MAX_POST_SAMPLES 4 #ifdef __cplusplus |