aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alSource.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-05-01 13:21:56 -0700
committerChris Robinson <[email protected]>2011-05-01 13:21:56 -0700
commit0109104027ec4de46c236f6520cf00d89dd980ad (patch)
tree8cc91b03503cd5a016a36e6c62dd21a46e14e885 /OpenAL32/Include/alSource.h
parentc9c965ef8542f59cb810faef40bfd2f5e447daee (diff)
Add some source fields for HRTF data
Diffstat (limited to 'OpenAL32/Include/alSource.h')
-rw-r--r--OpenAL32/Include/alSource.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h
index e43792c3..30b949db 100644
--- a/OpenAL32/Include/alSource.h
+++ b/OpenAL32/Include/alSource.h
@@ -86,11 +86,17 @@ typedef struct ALsource
// Source Type (Static, Streaming, or Undetermined)
ALint lSourceType;
+ /* HRTF info */
+ ALfloat HrtfHistory[HRTF_LENGTH];
+ ALuint HrtfOffset;
+
// Current target parameters used for mixing
ALboolean NeedsUpdate;
struct {
ALint Step;
+ ALfloat HrtfCoeffs[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
* channel target (eg. FRONT_LEFT) */