diff options
author | Chris Robinson <[email protected]> | 2020-05-19 12:15:57 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-05-19 12:15:57 -0700 |
commit | c5e90ed6c7878178d92aef372d67ed12d126bfc0 (patch) | |
tree | d4761b076ce4b14ed0094dea641fdb75dc7b7e0f /alc/bformatdec.h | |
parent | 825206bfa2b59ae124cc8fb34c5b668f8a682224 (diff) |
Use an enum for FamCount
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 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}}; } |