aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alSource.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-02-21 11:17:47 -0800
committerChris Robinson <[email protected]>2017-02-21 11:17:47 -0800
commitcd24e42b3f7887867735db2cd35a0c4137163379 (patch)
tree90158d7958ea4e72826c231d97d37f6687dd2014 /OpenAL32/Include/alSource.h
parente0e6efbfeac7bb07dce82b63b7688648e1067da3 (diff)
Make the voices' Send[] array dynamically sized
The voices are still all allocated in one chunk to avoid memory fragmentation. But they're accessed as an array of pointers since the size isn't static.
Diffstat (limited to 'OpenAL32/Include/alSource.h')
-rw-r--r--OpenAL32/Include/alSource.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h
index c63aef70..53e9a2f4 100644
--- a/OpenAL32/Include/alSource.h
+++ b/OpenAL32/Include/alSource.h
@@ -106,7 +106,7 @@ typedef struct ALvoice {
ALfloat (*Buffer)[BUFFERSIZE];
ALsizei Channels;
- } Send[MAX_SENDS];
+ } Send[];
} ALvoice;