aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-05-02 02:22:30 -0700
committerChris Robinson <[email protected]>2011-05-02 02:22:30 -0700
commitf843b7e2e362d3fc521771cdf8847de0a6f3a8d0 (patch)
tree00a92ec18d12f64713be07a111ceb1ea7872b74e /OpenAL32/Include
parenteea86ab8916c5e0213dabc404a191bbf0e0affbe (diff)
Implement HRTF mixers for multi-channel sources
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alSource.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h
index 30b949db..ee342f92 100644
--- a/OpenAL32/Include/alSource.h
+++ b/OpenAL32/Include/alSource.h
@@ -87,7 +87,7 @@ typedef struct ALsource
ALint lSourceType;
/* HRTF info */
- ALfloat HrtfHistory[HRTF_LENGTH];
+ ALfloat HrtfHistory[MAXCHANNELS][HRTF_LENGTH];
ALuint HrtfOffset;
// Current target parameters used for mixing
@@ -95,7 +95,7 @@ typedef struct ALsource
struct {
ALint Step;
- ALfloat HrtfCoeffs[HRTF_LENGTH][2];
+ ALfloat HrtfCoeffs[MAXCHANNELS][HRTF_LENGTH][2];
/* A mixing matrix. First subscript is the channel number of the input
* data (regardless of channel configuration) and the second is the