For some reason in release mode MSVC wants to decay the plain arrays to
pointers when used in a ternary, which causes the code expecting a
reference to an array to not compile.
std::unique_ptr<CoeffArray[]> Matrix;
/* Unused when FreqBands == 1 */
std::unique_ptr<CoeffArray[]> Matrix;
/* Unused when FreqBands == 1 */
- float LFOrderGain[MaxAmbiOrder+1]{};
+ std::array<float,MaxAmbiOrder+1> LFOrderGain{};
- float HFOrderGain[MaxAmbiOrder+1]{};
+ std::array<float,MaxAmbiOrder+1> HFOrderGain{};
CoeffArray *HFMatrix;
~AmbDecConf();
CoeffArray *HFMatrix;
~AmbDecConf();