aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-12-14 17:39:47 -0800
committerChris Robinson <[email protected]>2022-12-14 17:39:47 -0800
commitc40e1bc1ce4f43fed87508374679f82ed237d79d (patch)
tree3a596ae06129e1ddf6a55cd57f3931c36fabf883 /utils
parent42090e93719748675384cc6ec9106fb39f869920 (diff)
Better handle span sources from iterators
Diffstat (limited to 'utils')
-rw-r--r--utils/uhjdecoder.cpp4
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);