From cbc00bcffeb62eddac0dcf92d315f8188629b15b Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 28 Sep 2019 03:42:17 -0700 Subject: Combine two function calls into one --- alc/alu.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'alc/alu.h') diff --git a/alc/alu.h b/alc/alu.h index e2b25556..476e3ab9 100644 --- a/alc/alu.h +++ b/alc/alu.h @@ -85,11 +85,6 @@ union InterpState { using ResamplerFunc = const ALfloat*(*)(const InterpState *state, const ALfloat *RESTRICT src, ALuint frac, ALuint increment, const al::span dst); -void BsincPrepare(const ALuint increment, BsincState *state, const BSincTable *table); - -extern const BSincTable bsinc12; -extern const BSincTable bsinc24; - enum { AF_None = 0, @@ -372,8 +367,6 @@ void aluInit(void); void aluInitMixer(void); -ResamplerFunc SelectResampler(Resampler resampler, ALuint increment); - /* aluInitRenderer * * Set up the appropriate panning method and mixing method given the device @@ -383,6 +376,8 @@ void aluInitRenderer(ALCdevice *device, ALint hrtf_id, HrtfRequestMode hrtf_appr void aluInitEffectPanning(ALeffectslot *slot, ALCdevice *device); +ResamplerFunc PrepareResampler(Resampler resampler, ALuint increment, InterpState *state); + /** * Calculates ambisonic encoder coefficients using the X, Y, and Z direction * components, which must represent a normalized (unit length) vector, and the -- cgit v1.2.3