diff options
author | Chris Robinson <[email protected]> | 2022-12-14 17:39:47 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-12-14 17:39:47 -0800 |
commit | c40e1bc1ce4f43fed87508374679f82ed237d79d (patch) | |
tree | 3a596ae06129e1ddf6a55cd57f3931c36fabf883 /utils | |
parent | 42090e93719748675384cc6ec9106fb39f869920 (diff) |
Better handle span sources from iterators
Diffstat (limited to 'utils')
-rw-r--r-- | utils/uhjdecoder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/uhjdecoder.cpp b/utils/uhjdecoder.cpp index dc85ba56..6d992e30 100644 --- a/utils/uhjdecoder.cpp +++ b/utils/uhjdecoder.cpp @@ -128,7 +128,7 @@ struct UhjDecoder { void decode(const float *RESTRICT InSamples, const size_t InChannels, const al::span<FloatBufferLine> OutSamples, const size_t SamplesToDo); - void decode2(const float *RESTRICT InSamples, const al::span<FloatBufferLine,3> OutSamples, + void decode2(const float *RESTRICT InSamples, const al::span<FloatBufferLine> OutSamples, const size_t SamplesToDo); DEF_NEWDEL(UhjDecoder) @@ -305,7 +305,7 @@ void UhjDecoder::decode(const float *RESTRICT InSamples, const size_t InChannels * halving here is merely a -6dB reduction in output, but it's still incorrect. */ void UhjDecoder::decode2(const float *RESTRICT InSamples, - const al::span<FloatBufferLine,3> OutSamples, const size_t SamplesToDo) + const al::span<FloatBufferLine> OutSamples, const size_t SamplesToDo) { ASSUME(SamplesToDo > 0); |