aboutsummaryrefslogtreecommitdiffstats
path: root/al/source.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-02-25 06:39:03 -0800
committerChris Robinson <[email protected]>2020-02-25 06:39:03 -0800
commit795c4fcecc05132e550fa8b797e129823b230cdf (patch)
treec0932e6e80ad561067e2467a372fa4e7060948cd /al/source.h
parent9ddfcd6a1bbc04ec399643a1ae2ddea546b69ef1 (diff)
Make the source's send array static instead of dynamic
Diffstat (limited to 'al/source.h')
-rw-r--r--al/source.h4
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;