aboutsummaryrefslogtreecommitdiffstats
path: root/core/ambdec.h
diff options
context:
space:
mode:
authorChris Robinson <chris.kcat@gmail.com>2022-09-11 21:07:47 -0700
committerChris Robinson <chris.kcat@gmail.com>2022-09-11 21:07:47 -0700
commit583bd0e47c0d3c579c9e5b716e112cc4ab5c6960 (patch)
tree9670e6b9023aef1822fa024290b97de750f2e999 /core/ambdec.h
parentf73f6e61b7d9649ffe286dca915f7f4eab453309 (diff)
Ensure coeff_scale is set for ambdec files
Diffstat (limited to 'core/ambdec.h')
-rw-r--r--core/ambdec.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/ambdec.h b/core/ambdec.h
index e1bcde26..7f739781 100644
--- a/core/ambdec.h
+++ b/core/ambdec.h
@@ -11,6 +11,7 @@
/* Helpers to read .ambdec configuration files. */
enum class AmbDecScale {
+ Unset,
N3D,
SN3D,
FuMa,
@@ -21,7 +22,7 @@ struct AmbDecConf {
unsigned int ChanMask{0u};
unsigned int FreqBands{0u}; /* Must be 1 or 2 */
- AmbDecScale CoeffScale{};
+ AmbDecScale CoeffScale{AmbDecScale::Unset};
float XOverFreq{0.0f};
float XOverRatio{0.0f};