aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-02-21 16:31:59 -0800
committerChris Robinson <[email protected]>2017-02-21 16:31:59 -0800
commit864d5387dda119d9faecfd62226b62f1a8af8532 (patch)
tree482a95640ede134a44f669965eec28ea18e41de3 /OpenAL32/Include
parent29994aa2de828ce96950451219186b44bac54a75 (diff)
Dynamically allocate the ALsource Send[] array
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alMain.h2
-rw-r--r--OpenAL32/Include/alSource.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index 76862f38..0b467403 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -648,7 +648,7 @@ struct ALCdevice_struct
ALCuint NumMonoSources;
ALCuint NumStereoSources;
- ALuint NumAuxSends;
+ ALsizei NumAuxSends;
// Map of Buffers for this device
UIntMap BufferMap;
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h
index 53e9a2f4..72b05fc8 100644
--- a/OpenAL32/Include/alSource.h
+++ b/OpenAL32/Include/alSource.h
@@ -161,7 +161,7 @@ typedef struct ALsource {
ALfloat HFReference;
ALfloat GainLF;
ALfloat LFReference;
- } Send[MAX_SENDS];
+ } *Send;
/**
* Last user-specified offset, and the offset type (bytes, samples, or