From 5f22d30fc91e677933e12034979f42f74c4f653d Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 7 Aug 2010 05:43:16 -0700 Subject: Calculate the source stepping value with the param calculations --- OpenAL32/Include/alu.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'OpenAL32/Include/alu.h') diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h index 73f70224..fe2f42ba 100644 --- a/OpenAL32/Include/alu.h +++ b/OpenAL32/Include/alu.h @@ -5,6 +5,7 @@ #include "AL/alc.h" #include "AL/alext.h" +#include #include #ifdef HAVE_FLOAT_H #include @@ -76,6 +77,10 @@ typedef enum { #define BUFFERSIZE 8192 +#define FRACTIONBITS (14) +#define FRACTIONMASK ((1<