From 14166264d6fc59386d9cbbfcd12c78ffab5989fb Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 11 Jul 2016 23:30:32 -0700 Subject: Store the voice output buffers separate from the params --- OpenAL32/Include/alSource.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'OpenAL32/Include/alSource.h') diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h index 4b047b80..2dd8229c 100644 --- a/OpenAL32/Include/alSource.h +++ b/OpenAL32/Include/alSource.h @@ -41,6 +41,16 @@ typedef struct ALvoice { BsincState SincState; + struct { + ALfloat (*Buffer)[BUFFERSIZE]; + ALuint Channels; + } DirectOut; + + struct { + ALfloat (*Buffer)[BUFFERSIZE]; + ALuint Channels; + } SendOut[MAX_SENDS]; + DirectParams Direct; SendParams Send[MAX_SENDS]; } ALvoice; -- cgit v1.2.3