aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-05-29 21:58:37 -0700
committerChris Robinson <[email protected]>2019-05-29 21:58:37 -0700
commit893ffe9a84d497d38e6e472b0cffbd9c37e0c366 (patch)
treee86cb9f28857507a54aad958e8c4a9dd361c3e28 /OpenAL32/Include
parent8af7b4c6e0ddaf4d66455702a7ede0c9036f3825 (diff)
Use span<FloatBufferLine> for MixSamples
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alu.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h
index 49abe0f3..b6914c37 100644
--- a/OpenAL32/Include/alu.h
+++ b/OpenAL32/Include/alu.h
@@ -293,9 +293,9 @@ struct ALvoice {
void DeinitVoice(ALvoice *voice) noexcept;
-using MixerFunc = void(*)(const ALfloat *data, const ALsizei OutChans,
- ALfloat (*OutBuffer)[BUFFERSIZE], ALfloat *CurrentGains, const ALfloat *TargetGains,
- const ALsizei Counter, const ALsizei OutPos, const ALsizei BufferSize);
+using MixerFunc = void(*)(const ALfloat *data, const al::span<FloatBufferLine> OutBuffer,
+ ALfloat *CurrentGains, const ALfloat *TargetGains, const ALsizei Counter, const ALsizei OutPos,
+ const ALsizei BufferSize);
using RowMixerFunc = void(*)(FloatBufferLine &OutBuffer, const ALfloat *gains,
const al::span<const FloatBufferLine> InSamples, const ALsizei InPos,
const ALsizei BufferSize);