diff options
author | Chris Robinson <[email protected]> | 2022-01-01 00:10:21 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-01-01 00:10:21 -0800 |
commit | a271484e7c5056a868767a344e63f8f3feb9437e (patch) | |
tree | 998b0449dca744f1b53d732b1b01d39c23136e87 /core/device.h | |
parent | 1337f050dd3654a80403967434939584c87b62e9 (diff) |
Pass a span of pointers to the UHJ/SuperStereo decoder
Diffstat (limited to 'core/device.h')
-rw-r--r-- | core/device.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/device.h b/core/device.h index 111e26ce..e9596bb4 100644 --- a/core/device.h +++ b/core/device.h @@ -183,8 +183,9 @@ struct DeviceBase { /* Temp storage used for mixer processing. */ static constexpr size_t MixerLineSize{BufferLineSize + MaxResamplerPadding + UhjDecoder::sFilterDelay}; + static constexpr size_t MixerChannelsMax{16}; using MixerBufferLine = std::array<float,MixerLineSize>; - alignas(16) std::array<MixerBufferLine,16> mSampleData; + alignas(16) std::array<MixerBufferLine,MixerChannelsMax> mSampleData; alignas(16) float ResampledData[BufferLineSize]; alignas(16) float FilteredData[BufferLineSize]; |