aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/ambdec.cpp3
-rw-r--r--core/ambdec.h2
2 files changed, 5 insertions, 0 deletions
diff --git a/core/ambdec.cpp b/core/ambdec.cpp
index 30048051..0df22bc9 100644
--- a/core/ambdec.cpp
+++ b/core/ambdec.cpp
@@ -179,6 +179,9 @@ al::optional<std::string> load_ambdec_matrix(float (&gains)[MaxAmbiOrder+1],
} // namespace
+AmbDecConf::~AmbDecConf() = default;
+
+
al::optional<std::string> AmbDecConf::load(const char *fname) noexcept
{
al::ifstream f{fname};
diff --git a/core/ambdec.h b/core/ambdec.h
index b6aa1225..e1bcde26 100644
--- a/core/ambdec.h
+++ b/core/ambdec.h
@@ -46,6 +46,8 @@ struct AmbDecConf {
float HFOrderGain[MaxAmbiOrder+1]{};
CoeffArray *HFMatrix;
+ ~AmbDecConf();
+
al::optional<std::string> load(const char *fname) noexcept;
};