From aa56af1ecbf30b9f41d1cf9b0ede1c50f5757639 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 18 Jan 2017 19:16:24 -0800 Subject: Move the B-Format HRTF virtual speaker stuff to InitHrtfPanning This keeps the decoder matrices and coefficient mapping together for if it changes in the future. --- Alc/hrtf.h | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-) (limited to 'Alc/hrtf.h') diff --git a/Alc/hrtf.h b/Alc/hrtf.h index 5ac4a03d..83cc64d1 100644 --- a/Alc/hrtf.h +++ b/Alc/hrtf.h @@ -4,6 +4,7 @@ #include "AL/al.h" #include "AL/alc.h" +#include "alMain.h" #include "alstring.h" @@ -21,20 +22,15 @@ struct Hrtf { struct Hrtf *next; }; -typedef struct HrtfEntry { - al_string name; - - const struct Hrtf *hrtf; -} HrtfEntry; -TYPEDEF_VECTOR(HrtfEntry, vector_HrtfEntry) - -#define HRIR_BITS (7) -#define HRIR_LENGTH (1<