diff options
author | Chris Robinson <[email protected]> | 2019-09-28 03:42:17 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-09-28 03:42:17 -0700 |
commit | cbc00bcffeb62eddac0dcf92d315f8188629b15b (patch) | |
tree | cb8a16b4423213f2121bceca64e8ab9b80fd3ffc /alc/alu.h | |
parent | f7b574c8f2c6e24f52e73352a55cf685bfda3c0b (diff) |
Combine two function calls into one
Diffstat (limited to 'alc/alu.h')
-rw-r--r-- | alc/alu.h | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -85,11 +85,6 @@ union InterpState { using ResamplerFunc = const ALfloat*(*)(const InterpState *state, const ALfloat *RESTRICT src, ALuint frac, ALuint increment, const al::span<float> 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 |