aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alu.h
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32/Include/alu.h')
-rw-r--r--OpenAL32/Include/alu.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h
index 5f5493c5..63a03adc 100644
--- a/OpenAL32/Include/alu.h
+++ b/OpenAL32/Include/alu.h
@@ -13,6 +13,7 @@
#include "alMain.h"
#include "alBuffer.h"
#include "alFilter.h"
+#include "alAuxEffectSlot.h"
#include "hrtf.h"
#include "align.h"
@@ -34,6 +35,7 @@ extern "C" {
struct ALsource;
struct ALvoice;
+struct ALeffectslot;
/* The number of distinct scale and phase intervals within the filter table. */
@@ -164,6 +166,7 @@ typedef struct DirectParams {
typedef struct SendParams {
ALfloat (*OutBuffer)[BUFFERSIZE];
+ ALuint OutChannels;
ALboolean Moving;
ALuint Counter;
@@ -173,10 +176,7 @@ typedef struct SendParams {
ALfilterState LowPass;
ALfilterState HighPass;
} Filters[MAX_INPUT_CHANNELS];
-
- /* Gain control, which applies to each input channel to a single (mono)
- * output buffer. */
- MixGains Gains[MAX_INPUT_CHANNELS];
+ MixGains Gains[MAX_INPUT_CHANNELS][MAX_EFFECT_CHANNELS];
} SendParams;
@@ -276,6 +276,8 @@ void aluInitMixer(void);
ALvoid aluInitPanning(ALCdevice *Device);
+void aluInitEffectPanning(struct ALeffectslot *slot);
+
/**
* CalcDirectionCoeffs
*