From 7d82e41234f6a42356c9b2b498fe6a081498d101 Mon Sep 17 00:00:00 2001 From: Matt Firth Date: Thu, 12 Oct 2023 15:13:25 +0100 Subject: [PATCH 1/2] Update libadm --- submodules/libadm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/libadm b/submodules/libadm index 1f3e87dc3..9955fbd29 160000 --- a/submodules/libadm +++ b/submodules/libadm @@ -1 +1 @@ -Subproject commit 1f3e87dc37736ed42104969f00b6c4cbd43221e6 +Subproject commit 9955fbd2941756140b3e4a47c1fdcef7d711e162 From 964968282a30dc49bc4470ccb5c23210d185bc2f Mon Sep 17 00:00:00 2001 From: Matt Firth Date: Thu, 12 Oct 2023 15:43:42 +0100 Subject: [PATCH 2/2] Add Version attr to ADM Doc for 2076-2 --- .../lib/src/programme_store_adm_serializer.cpp | 1 + .../src/reaper_adm/exportaction_admsource-admvst.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/ear-production-suite-plugins/lib/src/programme_store_adm_serializer.cpp b/ear-production-suite-plugins/lib/src/programme_store_adm_serializer.cpp index 76ad2fa06..0067ae14a 100644 --- a/ear-production-suite-plugins/lib/src/programme_store_adm_serializer.cpp +++ b/ear-production-suite-plugins/lib/src/programme_store_adm_serializer.cpp @@ -272,6 +272,7 @@ ProgrammeStoreAdmSerializer::serialize(std::pair programmes_ = std::move(stores.first); items_ = std::move(stores.second); doc = adm::Document::create(); + doc->set(adm::Version("ITU-R_BS.2076-2")); addCommonDefinitionsTo(doc); pluginMap.clear(); for (auto& programme : programmes_.programme()) { diff --git a/reaper-adm-extension/src/reaper_adm/exportaction_admsource-admvst.cpp b/reaper-adm-extension/src/reaper_adm/exportaction_admsource-admvst.cpp index 64c6240a8..61b312790 100644 --- a/reaper-adm-extension/src/reaper_adm/exportaction_admsource-admvst.cpp +++ b/reaper-adm-extension/src/reaper_adm/exportaction_admsource-admvst.cpp @@ -23,6 +23,7 @@ std::vector getAdmTypeDefinitionsExcluding(adm::TypeDescrip AdmVstExportSources::AdmVstExportSources(ReaperAPI const& api) : IExportSources(api) { admDocument = adm::Document::create(); + admDocument->set(adm::Version("ITU-R_BS.2076-2")); admProgramme = adm::AudioProgramme::create(adm::AudioProgrammeName("Programme")); admContent = adm::AudioContent::create(adm::AudioContentName("Content"));