diff options
author | Chris Robinson <[email protected]> | 2014-03-23 02:45:50 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-03-23 02:45:50 -0700 |
commit | b0d511a8609cd2f3c10fd5b65603211a14c8141e (patch) | |
tree | ed50d56b16a3450f36ee21332b5b6df052693a56 /OpenAL32/Include/alu.h | |
parent | cc599333a8100dd3b8e52ef018e01d4e184c1532 (diff) |
Store the HrtfState directly in the DirectParams
Diffstat (limited to 'OpenAL32/Include/alu.h')
-rw-r--r-- | OpenAL32/Include/alu.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h index 6b75d96f..c4baed83 100644 --- a/OpenAL32/Include/alu.h +++ b/OpenAL32/Include/alu.h @@ -63,7 +63,7 @@ typedef struct DirectParams { union { struct { HrtfParams Params; - HrtfState *State; + HrtfState State; } Hrtf; /* A mixing matrix. First subscript is the channel number of the input @@ -91,11 +91,11 @@ typedef struct SendParams { typedef void (*ResamplerFunc)(const ALfloat *src, ALuint frac, ALuint increment, ALfloat *restrict dst, ALuint dstlen); -typedef ALvoid (*DryMixerFunc)(const struct DirectParams *params, +typedef ALvoid (*DryMixerFunc)(struct DirectParams *params, const ALfloat *restrict data, ALuint srcchan, ALuint OutPos, ALuint SamplesToDo, ALuint BufferSize); -typedef ALvoid (*WetMixerFunc)(const struct SendParams *params, +typedef ALvoid (*WetMixerFunc)(struct SendParams *params, const ALfloat *restrict data, ALuint OutPos, ALuint SamplesToDo, ALuint BufferSize); |