From 103841bc578888a828d176eddfdd9fa345549f03 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Wed, 23 Apr 2025 11:18:08 +0200 Subject: Rework FIG0/10 DAB time indication to match EDI time --- src/fig/FIG.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/fig/FIG.h') diff --git a/src/fig/FIG.h b/src/fig/FIG.h index 9752245..eda4671 100644 --- a/src/fig/FIG.h +++ b/src/fig/FIG.h @@ -35,11 +35,19 @@ namespace FIC { class FIGRuntimeInformation { public: - FIGRuntimeInformation(std::shared_ptr& e) : + + using dab_time_t = std::pair; + using get_time_func_t = std::function; + + FIGRuntimeInformation( + std::shared_ptr& e, + get_time_func_t getTimeFunc) : + getTimeFunc(getTimeFunc), currentFrame(0), ensemble(e), factumAnalyzer(false) {} + get_time_func_t getTimeFunc; unsigned long currentFrame; std::shared_ptr ensemble; bool factumAnalyzer; -- cgit v1.2.3