aboutsummaryrefslogtreecommitdiffstats
path: root/core/device.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-01-01 00:10:21 -0800
committerChris Robinson <[email protected]>2022-01-01 00:10:21 -0800
commita271484e7c5056a868767a344e63f8f3feb9437e (patch)
tree998b0449dca744f1b53d732b1b01d39c23136e87 /core/device.h
parent1337f050dd3654a80403967434939584c87b62e9 (diff)
Pass a span of pointers to the UHJ/SuperStereo decoder
Diffstat (limited to 'core/device.h')
-rw-r--r--core/device.h3
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];