diff options
author | Chris Robinson <[email protected]> | 2020-02-25 06:39:03 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-02-25 06:39:03 -0800 |
commit | 795c4fcecc05132e550fa8b797e129823b230cdf (patch) | |
tree | c0932e6e80ad561067e2467a372fa4e7060948cd /al/source.h | |
parent | 9ddfcd6a1bbc04ec399643a1ae2ddea546b69ef1 (diff) |
Make the source's send array static instead of dynamic
Diffstat (limited to 'al/source.h')
-rw-r--r-- | al/source.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/al/source.h b/al/source.h index 40bd0846..4a6a2531 100644 --- a/al/source.h +++ b/al/source.h @@ -88,7 +88,7 @@ struct ALsource { ALfloat GainLF; ALfloat LFReference; }; - al::vector<SendData> Send; + std::array<SendData,MAX_SENDS> Send; /** * Last user-specified offset, and the offset type (bytes, samples, or @@ -117,7 +117,7 @@ struct ALsource { ALuint id{0}; - ALsource(ALuint num_sends); + ALsource(); ~ALsource(); ALsource(const ALsource&) = delete; |