aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/helpers.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-02-14 19:59:39 -0800
committerChris Robinson <[email protected]>2017-02-14 19:59:39 -0800
commit5a50c46c22e7e6c5f119613584d826bc7b7b4a61 (patch)
tree2c0420dd6bc84dda8efabb5bd099abe85ee58b84 /Alc/helpers.c
parent69dd57096183c4e381cc3f5c0a8ac4e33048b346 (diff)
Make ALsourceProps' Send array dynamically sized
ALsourceProps' Send[] array is placed at the end of the struct, and given an indeterminate size. Extra space is allocated at the end of each struct given the number of auxiliary sends set for the device.
Diffstat (limited to 'Alc/helpers.c')
-rw-r--r--Alc/helpers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Alc/helpers.c b/Alc/helpers.c
index eac3811d..1ce567b2 100644
--- a/Alc/helpers.c
+++ b/Alc/helpers.c
@@ -112,6 +112,7 @@ DEFINE_PROPERTYKEY(PKEY_AudioEndpoint_GUID, 0x1da5d803, 0xd492, 0x4edd, 0x8c, 0x
extern inline ALuint NextPowerOf2(ALuint value);
+extern inline size_t RoundUp(size_t value, size_t r);
extern inline ALint fastf2i(ALfloat f);
extern inline ALuint fastf2u(ALfloat f);