aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/bformatdec.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-07-03 22:59:29 -0700
committerChris Robinson <[email protected]>2019-07-03 22:59:29 -0700
commit9a51ca0a782764c97c5c393b799ff76b7b6fb75f (patch)
treec71351893f172c282918a9ca9262a95a2b038d72 /Alc/bformatdec.h
parent0a0704071a74bb2350bc2735c0b7c554e2bf3a9a (diff)
Pass a span to BFormatDec::process
Diffstat (limited to 'Alc/bformatdec.h')
-rw-r--r--Alc/bformatdec.h4
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,