aboutsummaryrefslogtreecommitdiffstats
path: root/core/device.h
diff options
context:
space:
mode:
authorChris Robinson <chris.kcat@gmail.com>2022-08-07 13:09:12 -0700
committerChris Robinson <chris.kcat@gmail.com>2022-08-07 13:09:12 -0700
commit250f1624964c2c53e00d18fd1ec2bbc77c860298 (patch)
treec126c955a8871031d5da6d3c79fa4e7d380cc3e1 /core/device.h
parentb77a556d7b7d1a66db4dcde0b77ea5d704254c13 (diff)
Parameterize the UHJ filter length
Diffstat (limited to 'core/device.h')
-rw-r--r--core/device.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/device.h b/core/device.h
index e52d015f..bf995e5b 100644
--- a/core/device.h
+++ b/core/device.h
@@ -187,7 +187,7 @@ struct DeviceBase {
/* Temp storage used for mixer processing. */
static constexpr size_t MixerLineSize{BufferLineSize + MaxResamplerPadding +
- UhjDecoder::sFilterDelay};
+ DecoderBase::sMaxDelay};
static constexpr size_t MixerChannelsMax{16};
using MixerBufferLine = std::array<float,MixerLineSize>;
alignas(16) std::array<MixerBufferLine,MixerChannelsMax> mSampleData;
@@ -220,7 +220,7 @@ struct DeviceBase {
uint mIrSize{0};
/* Ambisonic-to-UHJ encoder */
- std::unique_ptr<UhjEncoder> mUhjEncoder;
+ std::unique_ptr<UhjEncoderBase> mUhjEncoder;
/* Ambisonic decoder for speakers */
std::unique_ptr<BFormatDec> AmbiDecoder;