From 842aeb888b79883a08c672ed12f1f2b87a0fb46e Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 22 Mar 2014 02:39:57 -0700 Subject: Move some HRTF and mixer structs to alu.h --- OpenAL32/Include/alSource.h | 57 --------------------------------------- OpenAL32/Include/alu.h | 66 ++++++++++++++++++++++++++++++++++++++++----- 2 files changed, 60 insertions(+), 63 deletions(-) (limited to 'OpenAL32') diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h index 0cc72d27..3d3f3029 100644 --- a/OpenAL32/Include/alSource.h +++ b/OpenAL32/Include/alSource.h @@ -5,18 +5,12 @@ #include "alMain.h" #include "alu.h" -#include "alFilter.h" -#include "alBuffer.h" #include "hrtf.h" #ifdef __cplusplus extern "C" { #endif -#define SRC_HISTORY_BITS (6) -#define SRC_HISTORY_LENGTH (1< #include #ifdef HAVE_FLOAT_H @@ -12,6 +10,11 @@ #include #endif +#include "alMain.h" +#include "alBuffer.h" +#include "alFilter.h" +#include "hrtf.h" + #define F_PI (3.14159265358979323846f) #define F_PI_2 (1.57079632679489661923f) @@ -25,14 +28,65 @@ #define RAD2DEG(x) ((ALfloat)(x) * (180.0f/F_PI)) +#define SRC_HISTORY_BITS (6) +#define SRC_HISTORY_LENGTH (1<