diff options
author | Chris Robinson <[email protected]> | 2019-07-03 22:59:29 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-07-03 22:59:29 -0700 |
commit | 9a51ca0a782764c97c5c393b799ff76b7b6fb75f (patch) | |
tree | c71351893f172c282918a9ca9262a95a2b038d72 /Alc/bformatdec.h | |
parent | 0a0704071a74bb2350bc2735c0b7c554e2bf3a9a (diff) |
Pass a span to BFormatDec::process
Diffstat (limited to 'Alc/bformatdec.h')
-rw-r--r-- | Alc/bformatdec.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/bformatdec.h b/Alc/bformatdec.h index 47723815..1ec4a1bb 100644 --- a/Alc/bformatdec.h +++ b/Alc/bformatdec.h @@ -43,8 +43,8 @@ public: const ALsizei (&chanmap)[MAX_OUTPUT_CHANNELS]); /* Decodes the ambisonic input to the given output channels. */ - void process(FloatBufferLine *OutBuffer, const ALuint OutChannels, - const FloatBufferLine *InSamples, const ALsizei SamplesToDo); + void process(const al::span<FloatBufferLine> OutBuffer, const FloatBufferLine *InSamples, + const ALsizei SamplesToDo); /* Retrieves per-order HF scaling factors for "upsampling" ambisonic data. */ static std::array<ALfloat,MAX_AMBI_ORDER+1> GetHFOrderScales(const ALsizei in_order, |