diff options
author | Chris Robinson <[email protected]> | 2022-05-06 04:14:34 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-05-06 04:14:34 -0700 |
commit | 7e6ed2fa953417cc4cb67dcd18e684121fa4767e (patch) | |
tree | 44a48d0ad4efd7b5a0e1a9a3ad98e45df960afc8 /alc/alu.cpp | |
parent | de33f4968c0f6b44161948af17320b87cbadc5d2 (diff) |
Use an array of pointers for the UHJ encoder input
Diffstat (limited to 'alc/alu.cpp')
-rw-r--r-- | alc/alu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/alu.cpp b/alc/alu.cpp index 0ba83739..c7fb5f57 100644 --- a/alc/alu.cpp +++ b/alc/alu.cpp @@ -305,7 +305,7 @@ void DeviceBase::ProcessUhj(const size_t SamplesToDo) /* Encode to stereo-compatible 2-channel UHJ output. */ mUhjEncoder->encode(RealOut.Buffer[lidx].data(), RealOut.Buffer[ridx].data(), - Dry.Buffer.data(), SamplesToDo); + {{Dry.Buffer[0].data(), Dry.Buffer[1].data(), Dry.Buffer[2].data()}}, SamplesToDo); } void DeviceBase::ProcessBs2b(const size_t SamplesToDo) |