aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-19 06:22:09 -0800
committerChris Robinson <[email protected]>2018-11-19 06:22:09 -0800
commitf0cc34a60e65b7120a8d2d2bd5f76aebb3352685 (patch)
tree73fca6c267bee08a17a9b2a9f44c37ce7842f56f /OpenAL32
parentf766437569da417cc9048cb789764c8c29cce8b0 (diff)
Use a vector to handle mixing buffer storage
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/Include/alMain.h3
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]{};