From 63f840d31f09922ddef632f233342cbba46b09cf Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 12 Feb 2023 03:15:40 -0800 Subject: Separate decoding and mixing from resampling --- core/device.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'core/device.h') 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; alignas(16) std::array mSampleData; + alignas(16) std::array mResampleData; - alignas(16) float ResampledData[BufferLineSize]; alignas(16) float FilteredData[BufferLineSize]; union { alignas(16) float HrtfSourceData[BufferLineSize + HrtfHistoryLength]; -- cgit v1.2.3