aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-04-28 02:23:53 -0700
committerChris Robinson <[email protected]>2012-04-28 02:23:53 -0700
commita8a13fcbd86961e210a159b4071afc1eb1477632 (patch)
treef6615053447b538457308b7edd194795c4bafa99 /OpenAL32
parent0a193c564585bb9080bc4fd905450141844e6eeb (diff)
Move the HrtfParams into the DirectParams
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/Include/alSource.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h
index 53286a03..88ced697 100644
--- a/OpenAL32/Include/alSource.h
+++ b/OpenAL32/Include/alSource.h
@@ -46,9 +46,11 @@ typedef struct HrtfParams {
} HrtfParams;
typedef struct DirectParams {
+ HrtfParams Hrtf;
+
/* A mixing matrix. First subscript is the channel number of the input data
* (regardless of channel configuration) and the second is the channel
- * target (eg. FRONT_LEFT). */
+ * target (eg. FRONT_LEFT). Not used with HRTF. */
ALfloat Gains[MAXCHANNELS][MAXCHANNELS];
/* A low-pass filter, using 2 chained one-pole filters. */
@@ -150,8 +152,6 @@ typedef struct ALsource
ALint Step;
- HrtfParams Hrtf;
-
DirectParams Direct;
struct ALeffectslot *Slot[MAX_SENDS];