aboutsummaryrefslogtreecommitdiffstats
path: root/core/device.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-02-12 03:15:40 -0800
committerChris Robinson <[email protected]>2023-02-12 03:15:40 -0800
commit63f840d31f09922ddef632f233342cbba46b09cf (patch)
tree79c128b3b6c6c01e9700de22afa7e5246f738584 /core/device.h
parent2001d93b03dd2af62e341b91ab2bee9b92da03bc (diff)
Separate decoding and mixing from resampling
Diffstat (limited to 'core/device.h')
-rw-r--r--core/device.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/device.h b/core/device.h
index e4c64a6d..32cf04c3 100644
--- a/core/device.h
+++ b/core/device.h
@@ -222,13 +222,12 @@ struct DeviceBase {
AmbiRotateMatrix mAmbiRotateMatrix2{};
/* Temp storage used for mixer processing. */
- static constexpr size_t MixerLineSize{BufferLineSize + MaxResamplerPadding +
- DecoderBase::sMaxPadding};
+ static constexpr size_t MixerLineSize{BufferLineSize + DecoderBase::sMaxPadding};
static constexpr size_t MixerChannelsMax{16};
using MixerBufferLine = std::array<float,MixerLineSize>;
alignas(16) std::array<MixerBufferLine,MixerChannelsMax> mSampleData;
+ alignas(16) std::array<float,MixerLineSize+MaxResamplerPadding> mResampleData;
- alignas(16) float ResampledData[BufferLineSize];
alignas(16) float FilteredData[BufferLineSize];
union {
alignas(16) float HrtfSourceData[BufferLineSize + HrtfHistoryLength];