diff options
author | Chris Robinson <[email protected]> | 2021-03-19 19:02:30 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2021-03-19 23:15:27 -0700 |
commit | 063da94bd8f4e2dc0369c283a7fa0f124764eb1c (patch) | |
tree | 974a8935401c8a04ff8619069002ac05bfe91320 /alc/alcmain.h | |
parent | f7f29999601c7f4d0350fb43ceca8a5d84bc1432 (diff) |
Load/convert samples from all channels at once for mixing
This uses a bit more memory (each voice needs to hold buffers for the
deinterleaved samples of each channel, instead of just one buffer for the
current channel being mixed on the device), but it will allow for handling
formats that need or prefer their channels decoded together.
Diffstat (limited to 'alc/alcmain.h')
-rw-r--r-- | alc/alcmain.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/alc/alcmain.h b/alc/alcmain.h index 762d778e..fa5fbdf1 100644 --- a/alc/alcmain.h +++ b/alc/alcmain.h @@ -221,7 +221,6 @@ struct ALCdevice : public al::intrusive_ref<ALCdevice> { std::chrono::nanoseconds FixedLatency{0}; /* Temp storage used for mixer processing. */ - alignas(16) float SourceData[BufferLineSize + MaxResamplerPadding]; alignas(16) float ResampledData[BufferLineSize]; alignas(16) float FilteredData[BufferLineSize]; union { |