diff options
author | Chris Robinson <[email protected]> | 2017-02-21 16:31:59 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-02-21 16:31:59 -0800 |
commit | 864d5387dda119d9faecfd62226b62f1a8af8532 (patch) | |
tree | 482a95640ede134a44f669965eec28ea18e41de3 /OpenAL32/Include | |
parent | 29994aa2de828ce96950451219186b44bac54a75 (diff) |
Dynamically allocate the ALsource Send[] array
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alMain.h | 2 | ||||
-rw-r--r-- | OpenAL32/Include/alSource.h | 2 |
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 |