aboutsummaryrefslogtreecommitdiffstats
path: root/alc/bformatdec.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-05-19 12:15:57 -0700
committerChris Robinson <[email protected]>2020-05-19 12:15:57 -0700
commitc5e90ed6c7878178d92aef372d67ed12d126bfc0 (patch)
treed4761b076ce4b14ed0094dea641fdb75dc7b7e0f /alc/bformatdec.h
parent825206bfa2b59ae124cc8fb34c5b668f8a682224 (diff)
Use an enum for FamCount
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 3d05324d..428af281 100644
--- a/alc/bformatdec.h
+++ b/alc/bformatdec.h
@@ -57,13 +57,13 @@ public:
static std::unique_ptr<BFormatDec> Create(const AmbDecConf *conf, const bool allow_2band,
const size_t inchans, const ALuint srate, const ALuint (&chanmap)[MAX_OUTPUT_CHANNELS])
{
- return std::unique_ptr<BFormatDec>{new(FamCount{inchans})
+ return std::unique_ptr<BFormatDec>{new(FamCount(inchans))
BFormatDec{conf, allow_2band, inchans, srate, chanmap}};
}
static std::unique_ptr<BFormatDec> Create(const size_t inchans,
const al::span<const ChannelDec> coeffs, const al::span<const ChannelDec> coeffslf)
{
- return std::unique_ptr<BFormatDec>{new(FamCount{inchans})
+ return std::unique_ptr<BFormatDec>{new(FamCount(inchans))
BFormatDec{inchans, coeffs, coeffslf}};
}