diff options
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alSource.h | 1 | ||||
-rw-r--r-- | OpenAL32/Include/alu.h | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h index c9832e47..005663bd 100644 --- a/OpenAL32/Include/alSource.h +++ b/OpenAL32/Include/alSource.h @@ -149,6 +149,7 @@ typedef struct ALsource /** Current target parameters used for mixing. */ struct { + ResamplerFunc Resample; DryMixerFunc DryMix; WetMixerFunc WetMix; diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h index a4ad48c8..79ba8f7e 100644 --- a/OpenAL32/Include/alu.h +++ b/OpenAL32/Include/alu.h @@ -80,6 +80,10 @@ struct ALbuffer; struct DirectParams; struct SendParams; +typedef void (*ResamplerFunc)(const ALfloat *src, ALuint frac, + ALuint increment, ALuint NumChannels, + ALfloat *RESTRICT dst, ALuint dstlen); + typedef ALvoid (*DryMixerFunc)(struct ALsource *self, ALCdevice *Device, struct DirectParams *params, const ALfloat *RESTRICT data, ALuint srcchan, |