diff options
author | Chris Robinson <[email protected]> | 2018-11-19 06:22:09 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-19 06:22:09 -0800 |
commit | f0cc34a60e65b7120a8d2d2bd5f76aebb3352685 (patch) | |
tree | 73fca6c267bee08a17a9b2a9f44c37ce7842f56f /OpenAL32/Include | |
parent | f766437569da417cc9048cb789764c8c29cce8b0 (diff) |
Use a vector to handle mixing buffer storage
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alMain.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 226d39a9..53cebc1f 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -648,6 +648,9 @@ struct ALCdevice_struct { /* Temp storage used for mixer processing. */ alignas(16) ALfloat TempBuffer[4][BUFFERSIZE]; + /* Mixing buffer used by the Dry mix, FOAOut, and Real out. */ + al::vector<std::array<ALfloat,BUFFERSIZE>, 16> MixBuffer; + /* The "dry" path corresponds to the main output. */ MixParams Dry; ALsizei NumChannelsPerOrder[MAX_AMBI_ORDER+1]{}; |