diff options
author | Chris Robinson <[email protected]> | 2017-03-12 06:58:27 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-03-12 06:58:27 -0700 |
commit | 7b4645f5f8d0269f47517a506297bfb7694ec990 (patch) | |
tree | bfa97603c7c0fbc7dc4914a6c8d8a2b200a21341 /OpenAL32 | |
parent | 96aaab93662be289d3b2c5312ae50502afa8d221 (diff) |
Store the HRIR coeff pointer and delays directly in MixHrtfParams
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/Include/alMain.h | 7 | ||||
-rw-r--r-- | OpenAL32/Include/alu.h | 3 |
2 files changed, 6 insertions, 4 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 7663e58d..ac89adf8 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -1024,10 +1024,11 @@ void FillCPUCaps(ALuint capfilter); vector_al_string SearchDataFiles(const char *match, const char *subdir); -/* Small hack to use a pointer-to-array type as a normal argument type. - * Shouldn't be used directly. */ +/* Small hack to use a pointer-to-array types as a normal argument type. + * Shouldn't be used directly. + */ typedef ALfloat ALfloatBUFFERSIZE[BUFFERSIZE]; - +typedef ALfloat ALfloat2[2]; #ifdef __cplusplus } diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h index 72f33be2..48520b41 100644 --- a/OpenAL32/Include/alu.h +++ b/OpenAL32/Include/alu.h @@ -116,7 +116,8 @@ enum ActiveFilters { typedef struct MixHrtfParams { - const HrtfParams *Current; + const ALfloat (*Coeffs)[2]; + ALsizei Delay[2]; ALfloat Gain; ALfloat GainStep; } MixHrtfParams; |