diff options
Diffstat (limited to 'OpenAL32/Include/alMain.h')
-rw-r--r-- | OpenAL32/Include/alMain.h | 7 |
1 files changed, 5 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; |