diff options
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/Include/alMain.h | 7 | ||||
-rw-r--r-- | OpenAL32/Include/alu.h | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index baf610b8..8c2615cf 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -462,8 +462,9 @@ typedef struct RealMixParams { ALsizei NumChannels; } RealMixParams; -struct ALCdevice_struct -{ +typedef void (*POSTPROCESS)(ALCdevice *device, ALsizei SamplesToDo); + +struct ALCdevice_struct { RefCount ref; ATOMIC(ALenum) Connected; @@ -507,6 +508,8 @@ struct ALCdevice_struct vector_FilterSubList FilterList; almtx_t FilterLock; + POSTPROCESS PostProcess; + /* HRTF state and info */ struct DirectHrtfState *Hrtf; al_string HrtfName; diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h index 920b7b44..a151c761 100644 --- a/OpenAL32/Include/alu.h +++ b/OpenAL32/Include/alu.h @@ -429,6 +429,8 @@ void aluInitRenderer(ALCdevice *device, ALint hrtf_id, enum HrtfRequestMode hrtf void aluInitEffectPanning(struct ALeffectslot *slot); +void aluSelectPostProcess(ALCdevice *device); + /** * CalcDirectionCoeffs * |