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 | |
parent | e4039cb9ae488badd5575d7179b80130d5c5c740 (diff) |
Store the voice output buffers separate from the params
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alSource.h | 10 | ||||
-rw-r--r-- | OpenAL32/Include/alu.h | 6 |
2 files changed, 10 insertions, 6 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; diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h index fca60b15..266c0588 100644 --- a/OpenAL32/Include/alu.h +++ b/OpenAL32/Include/alu.h @@ -125,9 +125,6 @@ typedef struct MixHrtfParams { } MixHrtfParams; typedef struct DirectParams { - ALfloat (*OutBuffer)[BUFFERSIZE]; - ALuint OutChannels; - struct { enum ActiveFilters ActiveType; ALfilterState LowPass; @@ -147,9 +144,6 @@ typedef struct DirectParams { } DirectParams; typedef struct SendParams { - ALfloat (*OutBuffer)[BUFFERSIZE]; - ALuint OutChannels; - struct { enum ActiveFilters ActiveType; ALfilterState LowPass; |