aboutsummaryrefslogtreecommitdiffstats
path: root/alc/alu.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-08-20 12:00:24 -0700
committerChris Robinson <[email protected]>2019-08-20 12:00:24 -0700
commit80710c146a69823cef9827415c04f9f5491dc38c (patch)
treeffc516028176479576e719bec545baf940cfcd2b /alc/alu.h
parent3fa83547e9d3857ad034fa29bd991111a3753259 (diff)
Use size_t for the mixers' fade counter and outpos
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 e4036d19..c4848e3e 100644
--- a/alc/alu.h
+++ b/alc/alu.h
@@ -315,14 +315,14 @@ struct ALvoice {
using MixerFunc = void(*)(const al::span<const float> InSamples,
const al::span<FloatBufferLine> OutBuffer, float *CurrentGains, const float *TargetGains,
- const ALsizei Counter, const ALsizei OutPos);
+ const size_t Counter, const size_t OutPos);
using RowMixerFunc = void(*)(const al::span<float> OutBuffer, const al::span<const float> Gains,
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,
+ const ALfloat *InSamples, float2 *AccumSamples, const size_t OutPos, const ALsizei IrSize,
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 ALfloat *InSamples, float2 *AccumSamples, const size_t OutPos, const ALsizei IrSize,
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,