aboutsummaryrefslogtreecommitdiffstats
path: root/core/ambdec.h
diff options
context:
space:
mode:
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 6b7394da..b6aa1225 100644
--- a/core/ambdec.h
+++ b/core/ambdec.h
@@ -5,6 +5,7 @@
#include <memory>
#include <string>
+#include "aloptional.h"
#include "core/ambidefs.h"
/* Helpers to read .ambdec configuration files. */
@@ -45,7 +46,7 @@ struct AmbDecConf {
float HFOrderGain[MaxAmbiOrder+1]{};
CoeffArray *HFMatrix;
- int load(const char *fname) noexcept;
+ al::optional<std::string> load(const char *fname) noexcept;
};
#endif /* CORE_AMBDEC_H */