diff options
author | Chris Robinson <[email protected]> | 2020-01-04 00:37:59 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-01-04 00:37:59 -0800 |
commit | 462bcd4ab7ba1603bef159ec48dc995045ced036 (patch) | |
tree | 9dc56ee0aed89c522e1f044a4afdb4197dc8980c /alc/bformatdec.h | |
parent | a42a586f0fbea0f84fc6b16f41fe705c1a8b83c0 (diff) |
Use a span instead of an array+size
Diffstat (limited to 'alc/bformatdec.h')
-rw-r--r-- | alc/bformatdec.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/alc/bformatdec.h b/alc/bformatdec.h index edbb6d50..b4649108 100644 --- a/alc/bformatdec.h +++ b/alc/bformatdec.h @@ -44,9 +44,8 @@ class BFormatDec { public: BFormatDec(const AmbDecConf *conf, const bool allow_2band, const ALuint inchans, const ALuint srate, const ALuint (&chanmap)[MAX_OUTPUT_CHANNELS]); - BFormatDec(const ALuint inchans, const ALsizei chancount, - const ChannelDec (&chancoeffs)[MAX_OUTPUT_CHANNELS], - const ALuint (&chanmap)[MAX_OUTPUT_CHANNELS]); + BFormatDec(const ALuint inchans, const ChannelDec (&chancoeffs)[MAX_OUTPUT_CHANNELS], + const al::span<const ALuint> chanmap); /* Decodes the ambisonic input to the given output channels. */ void process(const al::span<FloatBufferLine> OutBuffer, const FloatBufferLine *InSamples, |