diff options
author | Chris Robinson <[email protected]> | 2023-01-25 22:34:01 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-01-25 22:40:00 -0800 |
commit | cca13016c2d8b255de7ae07c8a7968e37f60028b (patch) | |
tree | b2fcc23ffe3da414fa1ed3ea940dbc6ef8778fab /core/device.h | |
parent | cc20bd01633221d4a72d03a05a8d4dc97b0eac64 (diff) |
Transpose the ambisonic voice mixing matrix
To more efficiently prepare the panning coefficients. Also avoid making a stack
copy of the matrix to reuse as the target.
Diffstat (limited to 'core/device.h')
-rw-r--r-- | core/device.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/device.h b/core/device.h index 178b66b8..e4c64a6d 100644 --- a/core/device.h +++ b/core/device.h @@ -219,6 +219,7 @@ struct DeviceBase { std::chrono::nanoseconds FixedLatency{0}; AmbiRotateMatrix mAmbiRotateMatrix{}; + AmbiRotateMatrix mAmbiRotateMatrix2{}; /* Temp storage used for mixer processing. */ static constexpr size_t MixerLineSize{BufferLineSize + MaxResamplerPadding + |