diff options
author | Chris Robinson <[email protected]> | 2020-04-30 17:03:56 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-04-30 17:03:56 -0700 |
commit | 6bc3ae178e929cbb9f984b482b3a1732b14428dc (patch) | |
tree | 35b61c706988655d68493577004d84e8fe267caa /alc/mixer/hrtfbase.h | |
parent | 972869f76fe854a57e5cc2ffa38d58ddae9d95d2 (diff) |
Use a more efficient type for holding the IrSize
Diffstat (limited to 'alc/mixer/hrtfbase.h')
-rw-r--r-- | alc/mixer/hrtfbase.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/alc/mixer/hrtfbase.h b/alc/mixer/hrtfbase.h index ed40328c..7cc65640 100644 --- a/alc/mixer/hrtfbase.h +++ b/alc/mixer/hrtfbase.h @@ -9,8 +9,8 @@ #include "voice.h" -using ApplyCoeffsT = void(&)(float2 *RESTRICT Values, const ALuint irSize, const HrirArray &Coeffs, - const float left, const float right); +using ApplyCoeffsT = void(&)(float2 *RESTRICT Values, const uint_fast32_t irSize, + const HrirArray &Coeffs, const float left, const float right); template<ApplyCoeffsT ApplyCoeffs> inline void MixHrtfBase(const float *InSamples, float2 *RESTRICT AccumSamples, const ALuint IrSize, @@ -85,7 +85,7 @@ inline void MixDirectHrtfBase(FloatBufferLine &LeftOut, FloatBufferLine &RightOu { ASSUME(BufferSize > 0); - const ALuint IrSize{State->IrSize}; + const uint_fast32_t IrSize{State->IrSize}; auto coeff_iter = State->Coeffs.begin(); for(const FloatBufferLine &input : InSamples) |