From 56fa3ca3db83627dbde9bd3a79da897c5a1cccb1 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Mon, 6 Oct 2025 17:35:24 +0200 Subject: Add services other ensembles to linking hot-reload --- src/MuxElements.cpp | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'src/MuxElements.cpp') diff --git a/src/MuxElements.cpp b/src/MuxElements.cpp index d39c874..d9c5392 100644 --- a/src/MuxElements.cpp +++ b/src/MuxElements.cpp @@ -793,7 +793,7 @@ bool dabEnsemble::validate_linkage_sets( std::vector dabEnsemble::get_frequency_information() const { unique_lock lock(m_mutex); - auto fi = m_frequency_information; + const auto fi = m_frequency_information; lock.unlock(); return fi; } @@ -801,18 +801,28 @@ std::vector dabEnsemble::get_frequency_information() const std::vector > dabEnsemble::get_linkagesets() const { unique_lock lock(m_mutex); - auto ls = m_linkagesets; + const auto ls = m_linkagesets; lock.unlock(); return ls; } +std::vector dabEnsemble::get_service_other_ensemble() const +{ + unique_lock lock(m_mutex); + const auto oe = m_service_other_ensemble; + lock.unlock(); + return oe; +} + void dabEnsemble::set_linking_config( std::vector >& new_linkage_sets, - std::vector& new_frequency_information) + std::vector& new_frequency_information, + std::vector& new_services_other_ensemble) { unique_lock lock(m_mutex); m_frequency_information = new_frequency_information; m_linkagesets = new_linkage_sets; + m_service_other_ensemble = new_services_other_ensemble; } unsigned short DabSubchannel::getSizeCu() const -- cgit v1.2.3