diff options
author | Chris Robinson <[email protected]> | 2019-08-20 11:39:39 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-08-20 11:39:39 -0700 |
commit | 3fa83547e9d3857ad034fa29bd991111a3753259 (patch) | |
tree | 5fa8d76652b86cfcd3445addcdb2de8a4e81f8ce /alc/alu.h | |
parent | a19f65f2c8e092e2314295cea5b72e3576490d45 (diff) |
Use size_t for HrtfMixer functions' buffer size
Diffstat (limited to 'alc/alu.h')
-rw-r--r-- | alc/alu.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -320,13 +320,13 @@ using RowMixerFunc = void(*)(const al::span<float> OutBuffer, const al::span<con const float *InSamples, const size_t InStride); using HrtfMixerFunc = void(*)(FloatBufferLine &LeftOut, FloatBufferLine &RightOut, const ALfloat *InSamples, float2 *AccumSamples, const ALsizei OutPos, const ALsizei IrSize, - MixHrtfFilter *hrtfparams, const ALsizei BufferSize); + MixHrtfFilter *hrtfparams, const size_t BufferSize); using HrtfMixerBlendFunc = void(*)(FloatBufferLine &LeftOut, FloatBufferLine &RightOut, const ALfloat *InSamples, float2 *AccumSamples, const ALsizei OutPos, const ALsizei IrSize, - const HrtfFilter *oldparams, MixHrtfFilter *newparams, const ALsizei BufferSize); + const HrtfFilter *oldparams, MixHrtfFilter *newparams, const size_t BufferSize); using HrtfDirectMixerFunc = void(*)(FloatBufferLine &LeftOut, FloatBufferLine &RightOut, const al::span<const FloatBufferLine> InSamples, float2 *AccumSamples, DirectHrtfState *State, - const ALsizei BufferSize); + const size_t BufferSize); #define GAIN_MIX_MAX (1000.0f) /* +60dB */ |