diff options
author | Chris Robinson <[email protected]> | 2017-02-15 17:40:26 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-02-15 17:40:26 -0800 |
commit | 909193a345469529ec98b8b01379738facee861d (patch) | |
tree | d330229b276f83906e1f40589ca16d09701782ca /OpenAL32/Include | |
parent | 5a50c46c22e7e6c5f119613584d826bc7b7b4a61 (diff) |
Reorganize ALvoice members
This places the Send[] array at the end of the struct, making it easier to
handle dynamically.
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alSource.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h index cc9dd763..c63aef70 100644 --- a/OpenAL32/Include/alSource.h +++ b/OpenAL32/Include/alSource.h @@ -95,19 +95,18 @@ typedef struct ALvoice { InterpState ResampleState; struct { + DirectParams Params[MAX_INPUT_CHANNELS]; + ALfloat (*Buffer)[BUFFERSIZE]; ALsizei Channels; - } DirectOut; + } Direct; struct { + SendParams Params[MAX_INPUT_CHANNELS]; + ALfloat (*Buffer)[BUFFERSIZE]; ALsizei Channels; - } SendOut[MAX_SENDS]; - - struct { - DirectParams Direct; - SendParams Send[MAX_SENDS]; - } Chan[MAX_INPUT_CHANNELS]; + } Send[MAX_SENDS]; } ALvoice; |