diff options
author | Chris Robinson <[email protected]> | 2016-07-11 23:30:32 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2016-07-11 23:30:32 -0700 |
commit | 14166264d6fc59386d9cbbfcd12c78ffab5989fb (patch) | |
tree | d7ce96315f5ee61d921a8ef44ba572adf59e0cff /OpenAL32/Include/alSource.h | |
parent | e4039cb9ae488badd5575d7179b80130d5c5c740 (diff) |
Store the voice output buffers separate from the params
Diffstat (limited to 'OpenAL32/Include/alSource.h')
-rw-r--r-- | OpenAL32/Include/alSource.h | 10 |
1 files changed, 10 insertions, 0 deletions
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; |