diff options
author | Chris Robinson <[email protected]> | 2019-08-20 12:00:24 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-08-20 12:00:24 -0700 |
commit | 80710c146a69823cef9827415c04f9f5491dc38c (patch) | |
tree | ffc516028176479576e719bec545baf940cfcd2b /alc/alu.h | |
parent | 3fa83547e9d3857ad034fa29bd991111a3753259 (diff) |
Use size_t for the mixers' fade counter and outpos
Diffstat (limited to 'alc/alu.h')
-rw-r--r-- | alc/alu.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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, |