aboutsummaryrefslogtreecommitdiffstats
path: root/alc/alu.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-08-20 11:39:39 -0700
committerChris Robinson <[email protected]>2019-08-20 11:39:39 -0700
commit3fa83547e9d3857ad034fa29bd991111a3753259 (patch)
tree5fa8d76652b86cfcd3445addcdb2de8a4e81f8ce /alc/alu.h
parenta19f65f2c8e092e2314295cea5b72e3576490d45 (diff)
Use size_t for HrtfMixer functions' buffer size
Diffstat (limited to 'alc/alu.h')
-rw-r--r--alc/alu.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/alc/alu.h b/alc/alu.h
index 4ab093d2..e4036d19 100644
--- a/alc/alu.h
+++ b/alc/alu.h
@@ -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 */